On Sat, 2002-09-07 at 14:51, R P Herrold wrote: > On Fri, 6 Sep 2002, Todd A. Jacobs wrote: > > > On Thu, 5 Sep 2002, Bret Hughes wrote: > > > > > Now for the obvious question, why do you care? are you mad because php > > > won't buzz a directory in any sorted order? > > > > Exactly. If the directory doesn't list the files in chronological order > > hunh? This is not true as to PHP's capability to produce a > directory (or any other) listing in alpha sequence. This is > also documented in the PHP contributed documentation. > Admittedly _that_ is a thick pile to wade through. > > I have a simple working example earliy in code I presented on > at a local LUG meeting, concerning PHP and the command shell > interpreted. See: > http://www.colug.net/notes/0208mtg/?c=alphalist.php > for the code to return an alpha direcrory listing. > cronological and other sort orders are trivial as well.
I think that illustrates Todd's point exactly. You must load the files into an array and sort the array. I am assumming Even more work must be done to get the time based sort. Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list