RE: [PHP] open a file in a folder without knowing the filename

From: Date: Thu, 21 Jun 2007 11:01:11 +0000
Subject: RE: [PHP] open a file in a folder without knowing the filename
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-257547@lists.php.net to get a copy of this message
> -----Original Message----- > From: Graham Shaw [mailto:zaknafien@blueyonder.co.uk] > > I'm probably missing something really obvious here but how would > I go about > opening a file or multiple files in a folder without knowing the filename > ahead of time? Read the files in the directory and place the names of the ones you want into an array using the directory functions: http://uk.php.net/manual/en/ref.dir.php Edward

« previous php.general (#257547) next »