note 85371 added to function.move-uploaded-file
| From: | MarkKazemier at osu1 dot php dot net | Date: | Wed, 27 Aug 2008 16:36:13 +0000 |
| Subject: | note 85371 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143889@lists.php.net to get a copy of this message | ||
I have the same problem as the person two comments below me. When I use the move_uploaded_file
function the permissions for the file are set to 0600. No matter what configurations you set.
I searched the internet and I found more people with the same problems, but no solutions. I set the
umask of apache to 013 and still the files were set to 0600.
The copy function solves the problem. Another way to solve this problem is using the chmod function
after uploading.
----
Server IP: 83.137.20.135
Probable Submitter: 86.93.12.228
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- https://master.php.net/note/edit/85371
Del: integrated -- https://master.php.net/note/delete/85371/integrated
Del: useless -- https://master.php.net/note/delete/85371/useless
Del: bad code -- https://master.php.net/note/delete/85371/bad+code
Del: spam -- https://master.php.net/note/delete/85371/spam
Del: non-english -- https://master.php.net/note/delete/85371/non-english
Del: in docs -- https://master.php.net/note/delete/85371/in+docs
Del: other reasons-- https://master.php.net/note/delete/85371
Reject -- https://master.php.net/note/reject/85371
Search -- https://master.php.net/manage/user-notes.php