note 32062 added to function.tempnam

From: Date: Thu, 15 May 2003 02:12:53 +0000
Subject: note 32062 added to function.tempnam
Groups: php.notes 
Request: Send a blank email to php-notes+get-48006@lists.php.net to get a copy of this message
Here's another "gotcha": $newfilename = tempnam("/tmp", "abc"); This simple call kept not working until I finally turned error display on. As it turned out, the open_basedir restriction was on and "/tmp/" was in the acceptable list, not "/tmp". If this function keeps failing, take a look at what your open_basedir allows. -- http://www.php.net/manual/en/function.tempnam.php http://master.php.net/manage/user-notes.php?action=edit+32062 http://master.php.net/manage/user-notes.php?action=delete+32062 http://master.php.net/manage/user-notes.php?action=reject+32062

« previous php.notes (#48006) next »