note 103791 added to function.move-uploaded-file

From: Date: Tue, 03 May 2011 23:07:52 +0000
Subject: note 103791 added to function.move-uploaded-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-179392@lists.php.net to get a copy of this message
A note for PHP on Windows IIS platform: PHP does obviously not like directory traversing among partitions, so if you set upload_tmp_dir to be on different partition as php-cgi.exe or php.exe is, upload_tmp_dir will NOT be accessible for file uploads! You will get ERROR 6 on any attempt to upload file, and file size will be 0. Resolution is to have upload_tmp_dir set to a path under PHP install folder. ...and make sure this folder (and also session_save_path folder) has at least read/write permissions granted to AppPool owner (usually NETWORK SERVICE) and IIS web user (by default IUSR_). ---- Server IP: 69.147.83.197 Probable Submitter: 89.212.81.25 ---- Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php Edit -- https://master.php.net/note/edit/103791 Del: integrated -- https://master.php.net/note/delete/103791/integrated Del: useless -- https://master.php.net/note/delete/103791/useless Del: bad code -- https://master.php.net/note/delete/103791/bad+code Del: spam -- https://master.php.net/note/delete/103791/spam Del: non-english -- https://master.php.net/note/delete/103791/non-english Del: in docs -- https://master.php.net/note/delete/103791/in+docs Del: other reasons-- https://master.php.net/note/delete/103791 Reject -- https://master.php.net/note/reject/103791 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179392) next »