Re: listing files and directories...
| From: | Richard Lynch | Date: | Tue, 20 Feb 2001 22:49:36 +0000 |
| Subject: | Re: listing files and directories... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40842@lists.php.net to get a copy of this message | ||
You can use http://php.net/fstat to get more info about the files
you see
from dir/read and http://php.net/sort to sort them.
You could use http://php.net/exec("ls -als",
$results, $error) to get files
sorted.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "Miguel Loureiro" <m.loureiro@distrim2.pt>
Newsgroups: php.general
Sent: Tuesday, February 20, 2001 3:38 AM
Subject: [PHP] listing files and directories...
Hello all,
To see all fields(directories and files) inside a directory I use the "dir"
and "read", what I would like to know is, if there other way to do the same,
others commands because now I have to problems, I want to make a sort of the
list (by name or by date), and I have to use my program in irix system, any
ideas ???
Thank you all
Best Regards