note 69555 added to function.move-uploaded-file
| From: | shacker at birdhouse dot org | Date: | Sun, 10 Sep 2006 07:28:21 +0000 |
| Subject: | note 69555 added to function.move-uploaded-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-116971@lists.php.net to get a copy of this message | ||
If you're dealing with files uploaded through some external FTP source and need to move them to
a final destination, searching php.net for "mv" or "move" won't get you
what you want. You want the rename() function.
http://www.php.net/manual/en/function.rename.php
(move_uploaded_file() won't work, since the POST vars won't be present.)
----
Server IP: 66.163.161.117
Probable Submitter: 71.142.87.22
----
Manual Page -- http://www.php.net/manual/en/function.move-uploaded-file.php
Edit -- https://master.php.net/note/edit/69555
Del: integrated -- https://master.php.net/note/delete/69555/integrated
Del: useless -- https://master.php.net/note/delete/69555/useless
Del: bad code -- https://master.php.net/note/delete/69555/bad+code
Del: spam -- https://master.php.net/note/delete/69555/spam
Del: non-english -- https://master.php.net/note/delete/69555/non-english
Del: in docs -- https://master.php.net/note/delete/69555/in+docs
Del: other reasons-- https://master.php.net/note/delete/69555
Reject -- https://master.php.net/note/reject/69555
Search -- https://master.php.net/manage/user-notes.php