note 86332 added to function.move-uploaded-file
| From: | DanDelaney at osu1 dot php dot net | Date: | Mon, 13 Oct 2008 20:41:19 +0000 |
| Subject: | note 86332 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145325@lists.php.net to get a copy of this message | ||
For those using PHP on Windows and IIS, you SHOULD set the "upload_tmp_dir" value in
php.ini to some directory around where your websites directory is, create that directory, and then
set the same permissions on it that you have set for your websites directory. Otherwise, when you
upload a file and it goes into C:\WINDOWS\Temp, then you move it to your website directory, its
permissions will NOT be set correctly. This will cause you problems if you then want to manipulate
that file with something like ImageMagick's convert utility.
----
Server IP: 64.71.164.2
Probable Submitter: 216.248.55.132
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- https://master.php.net/note/edit/86332
Del: integrated -- https://master.php.net/note/delete/86332/integrated
Del: useless -- https://master.php.net/note/delete/86332/useless
Del: bad code -- https://master.php.net/note/delete/86332/bad+code
Del: spam -- https://master.php.net/note/delete/86332/spam
Del: non-english -- https://master.php.net/note/delete/86332/non-english
Del: in docs -- https://master.php.net/note/delete/86332/in+docs
Del: other reasons-- https://master.php.net/note/delete/86332
Reject -- https://master.php.net/note/reject/86332
Search -- https://master.php.net/manage/user-notes.php