Uploading files / processing with a PHP script
| From: | PHP) | Date: | Sun, 08 Oct 2006 12:47:13 +0000 |
| Subject: | Uploading files / processing with a PHP script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-242819@lists.php.net to get a copy of this message | ||
When I upload a file into an application I am writing with the HTML form
command
<INPUT NAME="userfile" TYPE="file">
and then give the PHP command
move_uploaded_file( $userfile , $destination_file_name);
the owner of the file is 'www'. Is there any way I am able to
automatically change the owner of the file to my FTP login identity (for
example 'rpiggott')
Ron