note 69096 added to function.move-uploaded-file

From: Date: Wed, 23 Aug 2006 01:18:50 +0000
Subject: note 69096 added to function.move-uploaded-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-116187@lists.php.net to get a copy of this message
Apparently the warning above might better be written "If the destination file already exists, it will be overwritten ... regardless of the destination file's permissions." In other words, move_uploaded_file() executes as if it's root, not the user under which the web server is operating or the owner of the script that's executing. ---- Server IP: 216.194.113.175 Probable Submitter: 65.75.16.177 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php Edit -- https://master.php.net/note/edit/69096 Del: integrated -- https://master.php.net/note/delete/69096/integrated Del: useless -- https://master.php.net/note/delete/69096/useless Del: bad code -- https://master.php.net/note/delete/69096/bad+code Del: spam -- https://master.php.net/note/delete/69096/spam Del: non-english -- https://master.php.net/note/delete/69096/non-english Del: in docs -- https://master.php.net/note/delete/69096/in+docs Del: other reasons-- https://master.php.net/note/delete/69096 Reject -- https://master.php.net/note/reject/69096 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116187) next »