note 64849 deleted from function.tempnam by bjori

From: Date: Fri, 21 Apr 2006 21:45:40 +0000
Subject: note 64849 deleted from function.tempnam by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-108954@lists.php.net to get a copy of this message
Note Submitter: www.ba.uv.ro Reason: bad code ---- WRONG : Creates a file with a unique filename in the specified directory. If the directory does not exist, tempnam() may generate a file in the system's temporary directory, and return the name of that. CORECT : Creates a file with a unique filename in the specified directory. If the directory does not exist or does not have 777 permision, tempnam() may generate a file in the system's temporary directory, and return the name of that.

« previous php.notes (#108954) next »