Re: Problems uploading Files
| From: | Kilian | Date: | Thu, 22 Mar 2001 18:28:23 +0000 |
| Subject: | Re: Problems uploading Files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45159@lists.php.net to get a copy of this message | ||
Renzi, Sebastian <srenzi@codes.com.ar> wrote:
> Hello again ! , i have a script that uploads a file , when i use the
> function move_uploaded_file() an error raises ,"Permission denied ....."
> ,but if i upload the same file thru an ftp client it works correctly !
The user the webserver process runs under may not have the permission to
upload the file. In many cases, the webserver runs as nobody. Thus, if you
want to upload a file, nobody needs write-access to the directory into which
the file should be uploaded.
-- Kilian