Re: about lock some codes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux