Hi there, today I was playing around with dir() and my problem is that there is no chance to tell dir() weather to sort the files and directories. Sure, I'm able to read, dump all entries to an array, sort and print out the result. In cases with recursive directory trees a very bad idea if the tree contains a large number of subdirectories.
Well, my wish is something like that: dir(string path [, sort method]) for sorting against name, size, date - ok name may be a very good start. At the moment $d = dir('./'); [...] $d->read(); will produce a result like ls -la -U -- an unsorted way. best regards boris ( i hope i found the right place for these wishes ) -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php