note 61214 rejected from function.move-uploaded-file by betz
| From: | betz@php.net | Date: | Tue, 07 Feb 2006 11:53:26 +0000 |
| Subject: | note 61214 rejected from function.move-uploaded-file by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-103191@lists.php.net to get a copy of this message | ||
Note Submitter: may at dutchclan dot com
----
also got savemode and open_file_base restrictions where owner issues prevented us from using it. But
when you remove the first "/" of the destination path it seems to work..
$source = $_FILES['userfile']['tmp_name'];
$destination = "images/uploaded/"; (without first "/")
move_uploaded_file($source, $destination);
regards, May