how about readdir() in a while loop.


----- Original Message -----
From: Seb Frost <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 21, 2001 5:26 AM
Subject: [PHP] List of files?


> OK so I'vebeen reading about reading and writing to/from files, but what I
> want to do is (I think) simpler than this.
>
> Basically I want to look at a directory and be able to get a list of all
> subdirectories and then a list of the files in each directory.  Can
someone
> give me a hint?
>
> cheers....
>
> - seb
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to