class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
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..