note 81276 added to function.move-uploaded-file
| From: | JelmerJellema at osu1 dot php dot net | Date: | Wed, 20 Feb 2008 22:59:17 +0000 |
| Subject: | note 81276 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-136330@lists.php.net to get a copy of this message | ||
In response to tnp at shaman dot co dot uk
This is probably not a bug, nore proof of any meta filesystem running. My guess would be the
uploaded file would have its file access set to 0600 (u=rw,go=), so it could not be read by the
mysql server (running under a differt uid as your script).
Copy probably applies the normal umask to the file, with as a result permissions something like
0644: readable for anyone and the mysql server.
----
Server IP: 89.248.170.58
Probable Submitter: 83.161.60.47
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- https://master.php.net/note/edit/81276
Del: integrated -- https://master.php.net/note/delete/81276/integrated
Del: useless -- https://master.php.net/note/delete/81276/useless
Del: bad code -- https://master.php.net/note/delete/81276/bad+code
Del: spam -- https://master.php.net/note/delete/81276/spam
Del: non-english -- https://master.php.net/note/delete/81276/non-english
Del: in docs -- https://master.php.net/note/delete/81276/in+docs
Del: other reasons-- https://master.php.net/note/delete/81276
Reject -- https://master.php.net/note/reject/81276
Search -- https://master.php.net/manage/user-notes.php