Re: Move_uploaded_file()
| From: | Info@Best-IT | Date: | Wed, 18 Aug 2004 10:34:55 +0000 |
| Subject: | Re: Move_uploaded_file() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194141@lists.php.net to get a copy of this message | ||
Thanks for the explaination!!
That was the problem. One of the directories in the path did not have
execute permissions.
/T
on 8/17/04 7:58, Jason Wong at php-general@gremlins.biz wrote:
> Please do not top post.
>
> On Tuesday 17 August 2004 19:31, Info@Best-IT wrote:
>
>> How do you do that exactly - sorry for the stupid question - but the perms
>> for [absolute_path¹]/ is already rwxrw-rw-.
>>
>> Let me know if you are referring to a different way to set permissions....
>
> 1) What is the real name of your destination directory? I have been assuming
> that "[absolute_path¹]" is a substitution for the real path. If
> "[absolute_path¹]" is indeed your path then I suggest that you rename it to
> use just alphanumerals.
>
> 2) The webserver must have 'x' permission for every parent directory of the
> destination directory and must have 'wx' for the destination directory
> itself.
>
> To test and to convince yourself that move_uploaded_file() is working (or
> otherwise) use /tmp as the destination directory.