[PHP] (noob) listing folder content

2005-04-03 Thread p80
I have a folder let's call it /rep and would like to list all files in it and for each file $f I would like to check if $f == $some_value and if it does echo $f any idea how to do that? thanx in advance Pat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] (noob) listing folder content

2005-04-03 Thread Justin Gruenberg
On Apr 3, 2005 3:32 PM, p80 [EMAIL PROTECTED] wrote: I have a folder let's call it /rep and would like to list all files in it and for each file $f I would like to check if $f == $some_value and if it does echo $f any idea how to do that? thanx in advance Pat See the directory functions: