You might want to start with searching the manual for opendir()
function. There is a sample code listing all files from a directory. :)


Niklas


-----Original Message-----
From: Ben Whitehead [mailto:[EMAIL PROTECTED] 
Sent: 2. huhtikuuta 2003 1:05
To: [EMAIL PROTECTED]
Subject: [PHP] Menu from Directory


I am trying to sort an image menu system which is passed a directory
name,
and can count and name the files in a menu from simply seeing which
files
are in this directory. It would be ideal if it can just do this just by
looking at the files in the directory, and their file names, but if that
is
not possible, could it us the information in a text file I have created
and
placed in this directory?

Anyway help would be greatly received! (I'm new to PHP, so simple help
would
be even more appreciated!) :S

Ben

--
Ben Whitehead

[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/

###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to