Re: Listing files and their details on a text file
| From: | Andrew Brampton | Date: | Tue, 19 Nov 2002 01:44:49 +0000 |
| Subject: | Re: Listing files and their details on a text file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125017@lists.php.net to get a copy of this message | ||
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" <nando@antunes.eti.br>
To: "PHP-GENERAL" <PHP-GENERAL@lists.php.net>
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
>
>