note 54212 added to function.move-uploaded-file

From: Date: Mon, 27 Jun 2005 13:48:06 +0000
Subject: note 54212 added to function.move-uploaded-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-91020@lists.php.net to get a copy of this message
I agree with the note from Darrel, when I use move_uploaded_file() with relative pathname, it copies the file to Apache root. But I observed, when the file with same name in Apache root exist, it's not overwritten - the file is now uploaded to the standard location. I'm using Apache/2.0.54 (Win32) with PHP/4.3.8 as module, is it in newer versions already fixed? ---- Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+54212 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54212&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54212&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54212&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54212&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54212&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54212&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+54212&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#91020) next »