Re: File Upload
| From: | Eric Lee | Date: | Sat, 30 Jan 2010 12:21:46 +0000 |
| Subject: | Re: File Upload | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301689@lists.php.net to get a copy of this message | ||
On Sat, Jan 30, 2010 at 7:27 PM, Ali Reza Sajedi <arsajedi@khanehjou.com>wrote:
> Hello,
>
> When uploading a file the variable $_FILES['userfile']['tmp_name'] is not
> set and when debugging I get the following error although /tmp folder exists
> and the permissions are set to 777:
>
> $_FILES['userfile']['error'] = 6
>
> which says
>
> UPLOAD_ERR_NO_TMP_DIR
> Value: 6; Missing a temporary folder. Introduced in PHP 4.3.10 and PHP
> 5.0.3.
>
> Has anyone encountered such a problem or has a clue as to what the cause
> could be?
>
>
It might be the upload_tmp_dir no pointing to the right dir !
What is the current of it ?
Regards,
Eric,
Thank you.
>
> Kind regards
>
> Ali
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>