Page 1 of 1

Large file uploads

Posted: Tue Jan 23, 2007 10:19 am
by superdezign
I have a simple upload script that works fine until we get in the range of megabytes. i.e. *.jpg files work fine, *.bmp files do not.

phpinfo() has confirmed that upload_max_filesize = 10M in php.ini, yet I can't upload an 8MB file.

I even tried adding <input type="hidden" name="MAX_FILE_SIZE" value="10000000"> to the form, and still no luck.


Any suggestions?

Posted: Tue Jan 23, 2007 10:23 am
by feyd
What does the error field in the array tell you?

Posted: Tue Jan 23, 2007 10:26 am
by superdezign
I'm not getting an error. The only time I get an error is if I lower MAX_FILE_SIZE

However, I do believe I may have solved my own problem. post_max_size is actually 8M