Reply to Re: Error: File upload error (unknown error code).

Re: Error: File upload error (unknown error code). new!
by Dennis, 16 years ago
Hi,

yes, enctype="multipart/form-data" and the max file size tag are inculded.

First i thought, that i set the wrong upload directory but i can change it to anything: same problem.

This is the var_dump $_FILES output:
array(1) { ["upload_file"]=> array(5) { ["name"]=> string(10) "Winter.jpg" ["type"]=> string(0) "" ["tmp_name"]=> string(0) "" ["error"]=> int(6) ["size"]=> int(0) } }

In my php.ini the upload_tmp_dir is set to no value - is it okay?

e.g. in Wordpress does the upload work..no problems..Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important