...

folders

mr_ego
08-02-2002, 12:18 PM
how do i write a list of folders within a certain folder

eg:



MAIN FOLDER
| ---- Folder 1
| ---- Folder 2


but ofcourse it has to be put in a certain way in tables.

How do i do this?
(i dont think i explained it well ... its a bit confuzing to read)

QuackHead
08-02-2002, 07:43 PM
I'm confused...

are you talking about listing the folders? (on your server's hard drive ??)

~Quack

mr_ego
08-03-2002, 12:07 AM
Let me show you an example:

I have a folder called IMAGES, and within that folder are many other folders (eg: Fashion, Entertainment, Houses) etc.

I want to write a script that will open the directory IMAGES, then open all the sub directories within the folder IMAGES and retrieve the first file (in alphabetical order). I have been trying for ages but the closest i could get is showing one image that the query string specifies.

Thanks.

oracleguy
08-03-2002, 12:51 AM
http://www.asp101.com/samples/dir_list_sort.asp

this should do exactly what you want

webmarkart
08-03-2002, 07:48 AM
I posted something like this before,
This is a really nice code for that...

Here is an example of what it looks like:
http://www.through-the-eyes.com/examples


All you have to do is move all of the images into a folder called icons.

If you have trouble with it let me know....



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum