note 70038 added to function.move-uploaded-file
| From: | spam2 at rhsoft dot net | Date: | Sun, 01 Oct 2006 01:21:45 +0000 |
| Subject: | note 70038 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-117888@lists.php.net to get a copy of this message | ||
Hmm on Fedora with a self compiled php the function does not work
I must give the uploadtemp into open-base-dir then it will do
Damend "/var/www/uploadtemp/" exists and has chmod 777, owner apache and group apache -
wtf must the function check here open_base_dir??
Warning: move_uploaded_file() [function.move-uploaded-file.php]: open_basedir restriction in effect.
File(/var/www/uploadtemp/phpi6n65g) is not within the allowed path(s):
(/mnt/data/www/www.rhsoft.net:/mnt/data/www/phpincludes) in
/mnt/data/www/www.rhsoft.net/rte/catalog.php on line 573
Warning: move_uploaded_file(/var/www/uploadtemp/phpi6n65g) [function.move-uploaded-file.php]: failed
to open stream: Operation not permitted in /mnt/data/www/www.rhsoft.net/rte/catalog.php on line 573
----
Server IP: 192.35.244.50
Probable Submitter: 62.178.218.151
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- https://master.php.net/note/edit/70038
Del: integrated -- https://master.php.net/note/delete/70038/integrated
Del: useless -- https://master.php.net/note/delete/70038/useless
Del: bad code -- https://master.php.net/note/delete/70038/bad+code
Del: spam -- https://master.php.net/note/delete/70038/spam
Del: non-english -- https://master.php.net/note/delete/70038/non-english
Del: in docs -- https://master.php.net/note/delete/70038/in+docs
Del: other reasons-- https://master.php.net/note/delete/70038
Reject -- https://master.php.net/note/reject/70038
Search -- https://master.php.net/manage/user-notes.php