Does PHP have a wrapper for UNIX tempfile? Or is it just tmpnam() that has atomicity problems like two calls at once accessing the function.
I would like to generate temp filenames on a large scale over many scripts. Any alternatives to tmpnam()?
Thanks!
[edit: meant tmpnam()]
No silver bullet, but 2 hacks :
You can call the function right from php :
you can also use a recursive function like this (dirty, but should work :)) :