note 28083 added to function.move-uploaded-file

From: Date: Wed, 01 Jan 2003 16:24:59 +0000
Subject: note 28083 added to function.move-uploaded-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-41541@lists.php.net to get a copy of this message
As someone noted before, I got some problems using move_uploaded_file under safe_mode. After the file is moved, I've no rights for reading, writing or deleting the file. It seems as if move_uploaded_file had changed the owner to apache (uid 30). This is the warning message I get if I try to chmod the file after moving it: Warning: SAFE MODE Restriction in effect. The script whose uid is 703 is not allowed to access [...]/data.txt owned by uid 30 in [...]inc.FileUtils.php on line 20 Any Idea? -- http://www.php.net/manual/en/function.move-uploaded-file.php http://master.php.net/manage/user-notes.php?action=edit+28083 http://master.php.net/manage/user-notes.php?action=delete+28083 http://master.php.net/manage/user-notes.php?action=reject+28083

« previous php.notes (#41541) next »