Re: [PHP] Order directory output

2008-02-14 Thread Richard Lynch
opendir/readdir does not promise to deliver the files in any particular order, no matter what it seems to do on any given day... Put them in an array and sort() if it's a small list of files. Or use exec and "ls -als" or somesuch for a large list of files. Or... glob *might* be documented to do

Re: [PHP] Order directory output

2008-02-08 Thread Paul Scott
On Fri, 2008-02-08 at 21:19 -0500, Nathan Nobbe wrote: > i hooked up an spl example; and the files are sorted by name. > also, did you want that inside or outside the w/ > class=NormalText, because the opening and closing tags are > mixed up.. > Here is another, generic extension filter with S

Re: [PHP] Order directory output

2008-02-08 Thread Nathan Nobbe
On Fri, Feb 8, 2008 at 9:19 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > i hooked up an spl example; and the files are sorted by name. > also, did you want that inside or outside the w/ > class=NormalText, because the opening and closing tags are > mixed up.. > damnit; i had a couple of mistak

Re: [PHP] Order directory output

2008-02-08 Thread Nathan Nobbe
i hooked up an spl example; and the files are sorted by name. also, did you want that inside or outside the w/ class=NormalText, because the opening and closing tags are mixed up.. getInnerIterator()->current()->isFile()) { return true; } } } clas

Re: [PHP] Order directory output

2008-02-08 Thread Jim Lucas
Pastor Steve wrote: Hi, thanks for all your help today. I have the following code and I am trying to order the output. Currently it seems really random. Can anyone point me in the right direction? Breaking News Please check here often for breaking news stories.

[PHP] Order directory output

2008-02-08 Thread Pastor Steve
Hi, thanks for all your help today. I have the following code and I am trying to order the output. Currently it seems really random. Can anyone point me in the right direction? Breaking News Please check here often for breaking news stories.