View Single Post
Old May 31st, 2007, 3:55 AM   #23
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 381
Rep Power: 4 xavier is on a distinguished road
Send a message via Yahoo to xavier
Aha, i didn't see that, sorry.
I guess you could use mutex for a file where you write all the other filenames and only one thread will access the file at one time, and then you're sure you have unique file names.

http://www.php.net/shm_get_var -- maybe it will be of some help
__________________
Don't take life too seriously, it's not permanent !
xavier is offline   Reply With Quote