[UPHPU] Help me speed this up. Possibly a regex question?
Ash
ashovi at qwest.net
Wed Feb 13 10:03:34 MST 2008
Richard K Miller wrote:
>
> On Feb 12, 2008, at 4:35 PM, Ash wrote:
>
>
> What about this:
>
> $files = glob("J-$Month-*.pdf");
>
> Then use $files[0] (or do they have to checked in order?)
>
>
They have to be checked in order. I was trying to think of an array or
maybe even a switch statement that would work, so I'll try out Lonnie's
suggestion. I think the overhead of Orson's idea of getting a directory
listing every time might be higher than what I'm already doing.
Ash
More information about the UPHPU
mailing list