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

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to