Here's a generic way to access each file sequentially and perform your specific actions:
if ($dir = opendir("/path/to/directory")) { while ($file = readdir($dir)) { ... perform your condition checks here ... } closedir($dir); } else { ... code for reporting that directory could not be opened ... } Mike Frazer "Todd Cary" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am embarrassed to say that I lost the anser to my question on the > syntax to get a list of all of the files in a specified directory > matching a sertain criteria. > > Anyone willing to give me another chance? > > Todd > > -- > Todd Cary > Ariste Software > [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]