note 64002 added to function.move-uploaded-file

From: Date: Wed, 05 Apr 2006 10:02:49 +0000
Subject: note 64002 added to function.move-uploaded-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-107371@lists.php.net to get a copy of this message
On windows I made the directory writable, by changing the Apache httpd.conf file. The problem I had, was with the upload directory. The move_uploaded_file produced an error like: failed to open stream: Permission denied. I changed my php.ini to specify an upload directory: upload_tmp_dir = "d:/temp/php/uploads/" and I added the following in the Apache hpptd.conf file: <Directory "D:/temp/php/uploads"> Options None AllowOverride None Order allow,deny Allow from all </Directory> restarted Apache, and the upload succeeded. ---- Server IP: 83.137.20.120 Probable Submitter: 212.153.81.130 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php Edit -- http://master.php.net/note/edit/64002 Del: integrated -- http://master.php.net/note/delete/64002/integrated Del: useless -- http://master.php.net/note/delete/64002/useless Del: bad code -- http://master.php.net/note/delete/64002/bad+code Del: spam -- http://master.php.net/note/delete/64002/spam Del: non-english -- http://master.php.net/note/delete/64002/non-english Del: in docs -- http://master.php.net/note/delete/64002/in+docs Del: other reasons-- http://master.php.net/note/delete/64002 Reject -- http://master.php.net/note/reject/64002 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#107371) next »