how to get names of files...
| From: | tauntz | Date: | Tue, 25 Jun 2002 12:11:12 +0000 |
| Subject: | how to get names of files... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103765@lists.php.net to get a copy of this message | ||
Hello..
I have a problem:
I want to get all the filenames in a folder and put each filename into a
variable..
(if there's a.gif in the folder then I want $first to be "a.gif", IF
there's also a "na.jpg" then I want then it should be $second .. if you
know what I mean)
sry for the dumb question but I'm quite new to php