[PHP] Listing files and their details on a text file

2002-11-18 Thread Carlos Fernando Scheidecker Antunes
Hello all,

I need to do something that you might be able to advise me.

I would like to list all the contents (files) of a directory in a text file.
Each line/record must have the file name, date and size. Does anyone know
how to do it?

Thank you,

C.F.Scheidecker Antunes.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Listing files and their details on a text file

2002-11-18 Thread Andrew Brampton
You would do it just like you would if you were outputing to the browser
look up the following:
dir, fopen and fwrite.

Just be looking at the examples and user comments you will have all the
source you need

Andrew
- Original Message -
From: Carlos Fernando Scheidecker Antunes [EMAIL PROTECTED]
To: PHP-GENERAL [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 1:34 AM
Subject: [PHP] Listing files and their details on a text file


 Hello all,

 I need to do something that you might be able to advise me.

 I would like to list all the contents (files) of a directory in a text
file.
 Each line/record must have the file name, date and size. Does anyone know
 how to do it?

 Thank you,

 C.F.Scheidecker Antunes.


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php