note 49266 added to function.tempnam

From: Date: Fri, 21 Jan 2005 21:03:04 +0000
Subject: note 49266 added to function.tempnam
Groups: php.notes 
Request: Send a blank email to php-notes+get-83752@lists.php.net to get a copy of this message
If you go to the linux man page for the C function tempnam(3), you will see at the end "Never use this function. Use mkstemp(3) instead." But php's tempnam() function doesn't actually use tmpnam(3), so there's no problem (under Linux, it will use mkstemp(3) if it's available). ---- Manual Page -- http://www.php.net/manual/en/function.tempnam.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49266 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49266&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49266&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49266&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49266&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49266&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49266&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#83752) next »