Hi,
I am having a problem with is_uploaded file returning false if the
file
uploaded is over a certain size.
I have used ini_set("upload_max_filesize", "8M"), as well as setting
MAX_FILE_SIZE like this:
<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="21000000000000">
(ie real big :)
Still, if I try to upload a file over about 2mb, is_uploaded_file
returns false and the $userfile var is empty. Shouldn't it report an
uploaded file even if it is too large?
This is quite annoying as my script uses is_uploaded_file to check if
a
file has been uploaded, and if not it shows an upload form. If I try
to upload a +2Mb file, after a short wait I get the upload form
again.
Any help in fixing this would be appreciated. Here is my setup:
PHP-4.0.5-dev CGI
IIS4/NT4 SP4
Regards,
Tyson Lloyd Thwaites
IT&e Limited
e-Commerce Division
Adelaide
(08) 8346 3888
--
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]