[PHP] Reading from a dir.

2002-06-08 Thread Steven Mallett
Is there another way to read the files from a directory? I tried the following: foreach (glob(*.txt) as $filename) { echo $filename size . filesize($filename) . \n; } but get an error whether safe mode is on or off. I'm just learning as you might guess. -- Steve Mallett

Re: [PHP] Reading from a dir.

2002-06-08 Thread Sqlcoders.com Programming Dept
- From: Steven Mallett [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: June 08 2002 07:23 AM Subject: [PHP] Reading from a dir. Is there another way to read the files from a directory? I tried the following: foreach (glob(*.txt) as $filename) { echo $filename size

Re: [PHP] Reading from a dir.

2002-06-08 Thread Stuart Dallas
On Saturday, June 8, 2002 at 3:23:01 PM, you wrote: Is there another way to read the files from a directory? http://www.php.net/readdir -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php