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
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
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
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
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.
5 matches
Mail list logo