Do the files have to be serial numbered? My usual way of making a unique filename is the time plus the PID (i.e., "sprintf '%d-%d', time(), $$"). You get names like "1188242388-16378", but they never collide.
In reply to Re: CGI filename race
by kyle
in thread CGI filename race
by songahji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |