CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Build Catagories & Subs From Disk Directory Structure

Print topic Send  topic

Author Message
Jam
Posted: 10/21/2003, 7:29 AM

[SUGGESTION}: It would be A great asset to CCS users if the "application
builder" would include an IMAGE GALLERY. Hopefully this thread once and for
all will initiate a big enough interest to the development of a full fledge
"application builder" module for CCS.



I wish to build a robust MySql CCS Picture Gallery (Images Display System
Application). A gallery not limited to however only jpg's but other binaries
as well such as zip, rar, txt files etc. Since I will be using Code Charge
Studio, I need the PHP code to perform and execute the following:

In MySql terms I'm assuming this would be called an ->(INDEX). Another
Words, create an index.


Now I know this may intel some custom PHP coding, but I need this. I'm also
willing to work side by side with another Code Charge Studio user to help
build
This image gallery. I have many many ideas but the core part that I need
working right will be the fundimental code that will make this all possible.
And that is to to be able to scan each of my Hard drives, on the particular
directoies I choose to be the $BASE_PATH_TO_IMAGES and $BASE_PATH_TO_THUMBS
and also perfrom a scan a given file system remotely. (Not needed now, but
utilizing GD we could create thumbnails on the fly)..

I have 3 hard drives that includes 160 Gigabytes each of media files,
pictures, movies, zip files & rar's etc.. . They are full. I have, however,
eligantly laid
out a Gallery_Directory_Structure similar to the following on all my hard
drives:

$BASE_LOCAL_GALLERY_PATH = '/Galleries/';
$BASE_REMOTE_GALLERY_PATH = '/Galleries/';

HARD DRIVE E:


E:\Galleries
E:\Galleries\cars
E:\Galleries\cars\ford
E:\Galleries\cars\ford\mustangs
E:\Galleries\cars\ford\mustangs\images\red_stang.jpg (orignal image)
E:\Galleries\cars\ford\mustangs\images\blue_stang.jpg (orignal image)

E:\Galleries\cars\ford\mustangs\thumbnails\red_stang_th.jpg (thumbnail)
E:\Galleries\cars\ford\mustangs\\thumbnails\blue_stang_th.jpg (thumbnail)

HARD DRIVE F:

F:\Galleries\cars\chevy
F:\Galleries\cars\chevy\corvette
F:\Galleries\cars\chevy\corvette\images\red_vette.jpg
F:\Galleries\cars\chevy\corvette\images\blue_vette.jpg

F:\Galleries\cars\chevy\corvette\thumbnails\red_vette_th.jpg
F:\Galleries\cars\chevy\corvette\thumbnails\blue_vette_th.jpg

HARD DRIVE G:

ETC....

REMOTE HARD DRIVE C: HTTP://456.78.987.10/Galleries/cars/..etc (remote
server #1)
REMOTE HARD DRIVE C: HTTP://456.78.111.10/Galleries/cars/..etc (remote
server #2)

What I need to do is leave my direcotry tree (Gallery Folders) and all subs
just the way they are and not move or copy a thing. In Code charge Stuidio,
what php code is needed that will traverse or recursivly search/scan my file
system on a particular location or mulitple locations (starting point) I
specify along with all /sub_directories and /sub/of/subs etc. thus
completely building My Main Catagories and subs into a MySql Database.
Another words I want an exact duplicate mirror image of my Directory Tree.
While this is being performed however, each image and thumbnail image needs
to have a Unique ID, I would assume?

A few more details can be found at the CCS fourms.
http://www.gotocode.com/disc_viewt.asp?mid=24145&

Please note, the article nor this post does not include every little fine
detail of my objectives in the final product. The main thing I need to
learn, if somenoe is generous enough to help me is to learn what PHP code is
needed to simply build the INDEX of my Hard Disk directory Tree, beginning
with the $BASE_PATH of coarse and an "display.php" script to output a
gallery to the web. It doesn't have to be all fancy right now, I just want
to get the database build correctly and the base php code started to perfrom
the Build & dispaly portion. All the whistles and bells can be added in
later.

Thanks to anyone who can help me.

sts

I have a Perl script that does exactly this except for one BIG problem. It
does not insert the Tree into a MySql Database Table. It inserts the results
into a Flat-Base text file, an as you know there is a hudge drawback
limitation to flat text base db's. If anyone wishes to see this
"nph-build.cgi" I will be glad to post it here in this newsgroup.


Walter Kempees
Posted: 12/01/2003, 4:39 PM

Are you still in for this challenge?
Walt
"Jam" <jam@here.com> schreef in bericht
news:bn3frh$h4i$1@news.codecharge.com...
> [SUGGESTION}: It would be A great asset to CCS users if the "application
> builder" would include an IMAGE GALLERY. Hopefully this thread once and
for
> all will initiate a big enough interest to the development of a full
fledge
> "application builder" module for CCS.
>
>
>
> I wish to build a robust MySql CCS Picture Gallery (Images Display System
> Application). A gallery not limited to however only jpg's but other
binaries
> as well such as zip, rar, txt files etc. Since I will be using Code Charge
> Studio, I need the PHP code to perform and execute the following:
>
> In MySql terms I'm assuming this would be called an ->(INDEX). Another
> Words, create an index.
>
>
> Now I know this may intel some custom PHP coding, but I need this. I'm
also
> willing to work side by side with another Code Charge Studio user to help
> build
> This image gallery. I have many many ideas but the core part that I need
> working right will be the fundimental code that will make this all
possible.
> And that is to to be able to scan each of my Hard drives, on the
particular
> directoies I choose to be the $BASE_PATH_TO_IMAGES and
$BASE_PATH_TO_THUMBS
> and also perfrom a scan a given file system remotely. (Not needed now, but
> utilizing GD we could create thumbnails on the fly)..
>
> I have 3 hard drives that includes 160 Gigabytes each of media files,
> pictures, movies, zip files & rar's etc.. . They are full. I have,
however,
> eligantly laid
> out a Gallery_Directory_Structure similar to the following on all my hard
> drives:
>
> $BASE_LOCAL_GALLERY_PATH = '/Galleries/';
> $BASE_REMOTE_GALLERY_PATH = '/Galleries/';
>
> HARD DRIVE E:
>
>
> E:\Galleries
> E:\Galleries\cars
> E:\Galleries\cars\ford
> E:\Galleries\cars\ford\mustangs
> E:\Galleries\cars\ford\mustangs\images\red_stang.jpg (orignal image)
> E:\Galleries\cars\ford\mustangs\images\blue_stang.jpg (orignal image)
>
> E:\Galleries\cars\ford\mustangs\thumbnails\red_stang_th.jpg (thumbnail)
> E:\Galleries\cars\ford\mustangs\\thumbnails\blue_stang_th.jpg (thumbnail)
>
> HARD DRIVE F:
>
> F:\Galleries\cars\chevy
> F:\Galleries\cars\chevy\corvette
> F:\Galleries\cars\chevy\corvette\images\red_vette.jpg
> F:\Galleries\cars\chevy\corvette\images\blue_vette.jpg
>
> F:\Galleries\cars\chevy\corvette\thumbnails\red_vette_th.jpg
> F:\Galleries\cars\chevy\corvette\thumbnails\blue_vette_th.jpg
>
> HARD DRIVE G:
>
> ETC....
>
> REMOTE HARD DRIVE C: HTTP://456.78.987.10/Galleries/cars/..etc (remote
> server #1)
> REMOTE HARD DRIVE C: HTTP://456.78.111.10/Galleries/cars/..etc (remote
> server #2)
>
> What I need to do is leave my direcotry tree (Gallery Folders) and all
subs
> just the way they are and not move or copy a thing. In Code charge
Stuidio,
> what php code is needed that will traverse or recursivly search/scan my
file
> system on a particular location or mulitple locations (starting point) I
> specify along with all /sub_directories and /sub/of/subs etc. thus
> completely building My Main Catagories and subs into a MySql Database.
> Another words I want an exact duplicate mirror image of my Directory Tree.
> While this is being performed however, each image and thumbnail image
needs
> to have a Unique ID, I would assume?
>
> A few more details can be found at the CCS fourms.
> http://www.gotocode.com/disc_viewt.asp?mid=24145&
>
> Please note, the article nor this post does not include every little fine
> detail of my objectives in the final product. The main thing I need to
> learn, if somenoe is generous enough to help me is to learn what PHP code
is
> needed to simply build the INDEX of my Hard Disk directory Tree, beginning
> with the $BASE_PATH of coarse and an "display.php" script to output a
> gallery to the web. It doesn't have to be all fancy right now, I just want
> to get the database build correctly and the base php code started to
perfrom
> the Build & dispaly portion. All the whistles and bells can be added in
> later.
>
> Thanks to anyone who can help me.
>
> sts
>
> I have a Perl script that does exactly this except for one BIG problem. It
> does not insert the Tree into a MySql Database Table. It inserts the
results
> into a Flat-Base text file, an as you know there is a hudge drawback
> limitation to flat text base db's. If anyone wishes to see this
> "nph-build.cgi" I will be glad to post it here in this newsgroup.
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.