On 27-09-2012 15:13, Jim Giner wrote:
Even simpler - use the 'tempnam' or 'tmpfile' functions to always have a unique name and avoid having to check for an existing file. Amazing what the php Manual has in it...
Good find, I completely forgot about the existence of those functions ;) It's been a long time since I've had to meddle with unique filenames
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php