Ok! Like this:
form.php:
<form enctype="multipart/form-data" action=doupload.php method=post>
<input type=file name="userfile"><br><input type=submit value="Hit it!">
doupload.php:
print($userfile);
(or whatever)
The error prints before anything else in doupload.php. I can copy the file to another directory and I get a file with the correct name but the size is 0 bytes!
Could this be some kind of firewall problem??