note 16956 added to function.getmypid

From: Date: Tue, 20 Nov 2001 08:38:59 +0000
Subject: note 16956 added to function.getmypid
Groups: php.notes 
Request: Send a blank email to php-notes+get-21051@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(). -- http://www.php.net/manual/en/function.getmypid.php http://master.php.net/manage/user-notes.php?action=edit+16956 http://master.php.net/manage/user-notes.php?action=delete+16956 http://master.php.net/manage/user-notes.php?action=reject+16956

« previous php.notes (#21051) next »