[UPHPU] Help me speed this up. Possibly a regex question?

Richard K Miller richardkmiller at gmail.com
Wed Feb 13 10:49:13 MST 2008

On Feb 13, 2008, at 10:03 AM, Ash wrote:

> 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.

Yeah maybe you're right. I suppose we won't know what's faster until  
you really test it.

More information about the UPHPU mailing list