Re: uploading a file - here is the error message...
| From: | Phil Schwarzmann | Date: | Mon, 01 Jul 2002 17:42:44 +0000 |
| Subject: | Re: uploading a file - here is the error message... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104735@lists.php.net to get a copy of this message | ||
I took your advice first and tried "move_uploaded_file" and it kept
saying "It barfed" (hehe). Then I switched to "copY" and got this new
error.
Thaks for your help!!
>>> mirza@php.co.ba 07/01/02 01:29PM >>>
Hi Phil,
first thing u should do is to check permission of this directory
(CHMOD). the 2nd one, u should replace function "copy" with
"move_uploaded_file". than is should work.
Mirza mirza@php.co.ba
01.07.2002 19:13
> Here is the error I'm receiving when attempting to upload a file....
> Warning: Unable to create 'temp/test.txt': Permission denied in
> /home/.../www/website/upload3.php on line 11
> ..could it be that my web host isn't giving me permissions to upload
> files ?