Re: about lock some codes.
| From: | Maciek Sokolewicz | Date: | Thu, 27 Sep 2012 15:12:24 +0000 |
| Subject: | Re: about lock some codes. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-319282@lists.php.net to get a copy of this message | ||
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