RE: [PHP] Menu from Directory
| From: | Niklas Lampén | Date: | Wed, 02 Apr 2003 11:46:45 +0000 |
| Subject: | RE: [PHP] Menu from Directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141966@lists.php.net to get a copy of this message | ||
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:benwhitehead@newmail.net]
Sent: 2. huhtikuuta 2003 1:05
To: php-general@lists.php.net
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
benwhitehead@newmail.net
--
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/