On 6/21/07, Daniel Brown <parasane@xxxxxxxxx> wrote:
On 6/21/07, Edward Kay <edward@xxxxxxxxxx> wrote: > > -----Original Message----- > > From: Graham Shaw [mailto:zaknafien@xxxxxxxxxxxxxxxx] > > > > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > DISCLAIMER: Once again, I'm programming in the email window without testing the code at all. In theory, it should work, but there's probably a bug somewhere.
<code snip>
Daniel P. Brown
I like that disclaimer :) I write a lot of code for this list in my mail.. Tijnema -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php