OK, here's my problem
I wrote a simple upload script:

<?
print_r($HTTP_POST_FILES);
?>

<FORM ENCTYPE="multipart/form-data" ACTION="" METHOD=POST>
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="100000000000000000">
File: <INPUT TYPE=file name=filename size=30>
<INPUT TYPE="submit" VALUE="submit">
</FORM>


I purposely specified MAX_FILE_SIZE to be big since I heard it causes
problems if it's too small: ie files get rejected no matter what.

If I input any file, the $HTTP_POST_FILES shows the proper stuff, but
the file doesn't exist in "/tmp" (which is set in php.ini), if I leave
the file field empty, then a /tmp/phpXXXXXX file is created with a 0
byte size.

What can be the problem? It's not permissions..

Yev

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to