On Thursday 09 January 2003 16:29, Aleš Lončar wrote:
> Hi!
>
> I have one question.
> How can I get sorted listing of a direcorty with readdir function? Is this
> possible 

No, not with readdir() on its own.

> or I have to write custom function using array function sort?

Yes, that is what you would have to do. Check out the user notes on the online 
manual. I think someone has posted some code that you can use or adapt.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
One has to look out for engineers -- they begin with sewing machines
and end up with the atomic bomb.
                -- Marcel Pagnol
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to