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" <[EMAIL PROTECTED]>
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
--
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]