note 32062 deleted from function.tempnam by alindeman

From: Date: Thu, 15 May 2003 02:16:55 +0000
Subject: note 32062 deleted from function.tempnam by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48007@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.

« previous php.notes (#48007) next »