note 16956 deleted from function.getmypid by jimw
| From: | jimw@php.net | Date: | Mon, 10 Dec 2001 23:26:02 +0000 |
| Subject: | note 16956 deleted from function.getmypid by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22455@lists.php.net to get a copy of this message | ||
To generate a temporary file name not to be overwritten I used:
$TEMPFILE='/tmp/myname.tmp.'.getmypid();
It's a bit nicer than tempnam() or tmpfile().