File Upload
| From: | Ali Reza Sajedi | Date: | Sat, 30 Jan 2010 11:27:03 +0000 |
| Subject: | File Upload | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-301687@lists.php.net to get a copy of this message | ||
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?
Thank you.
Kind regards
Ali