note 30166 deleted from features.file-upload by vincent

From: Date: Thu, 11 Sep 2003 12:24:38 +0000
Subject: note 30166 deleted from features.file-upload by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56112@lists.php.net to get a copy of this message
Note Submitter: ov@xs4all.nl ---- [Editor's Note]If the permissions are set incorrectly in the temporary upload directory PHP's attempt to unlink the file will fail, resulting in the file not being deleted. [/Note] Another problem I had was that move_uploaded_file() didn't really move the file, but copied it. Setting the permissions correctly solved that: On your WIN2K/IIS5 server: 1. Right-click the C:\PHP\uploadtemp folder 2. Check Read/Write permission to IUSR_<machine>, uncheck the remaining options. 3. Click Advanced and edit the Internet Guest account. 4. Select the option to delete subfolders and files. 5. Click OK a few times.

« previous php.notes (#56112) next »