Efficient. I like that. I'd pad it just so filenames would match (banner001.php), etc, but that's just my pedantic design.
Code:
$x = printf(%02d, rand(1,20));
Sorry for the semi-hijack:
darksoul: Got a second for a question or two? I'm rather new to supporting AT3, and for some reason, in.cgi seems to semi-randomly zombie on a new install.
This site is not doing anything horribly exotic, either - it's using stock SSI. It eventually clears up, but it bothers me that I can get a quick burst of traffic and have 20 zombies.
This machine is also production, so I can't just drop gdb on it and try to figure what the @#$@! is going on.