Hi,
I am getting inconsistent results when trying to upload jpg image files.
I thought that images over 1mb weren't being uploaded...but it would seem only "some" images over 1mb cannot be uploaded whilst others can... which seems just a little odd to me....
I have set php.ini entries which allow for max filesize of like 50mb.
The Apache server has body content restriction of 16mb - so this will be the limit.
I have a 1.3mb file,which refuses to upload, returning..
Array ( [name] => IMG_1849.JPG [type] => [tmp_name] => [error] => 2 [size] => 0 )
Error 2 and size 0.
Yet if I open the file in a an editor and resave it - optimising it changing the filesize - it will upload no problem.
I have tried both my code and
http://webdev.mtnpeak.net/index.php?pg=php
(file manager version 1.3)
And both sets of code result in similar issues - where this particular jpeg file will not upload - and the file is not corrupt..
Has anyone seen issues where certain files will not upload onto a web server?
My platform is : Windows XP, Running Apache Server and PHP. I've just upgraded PHP to 4.3.10 but this yeilds same results as previously.
I just wondered if there are certain aspects eg. EXIF information to a JPeg file which would result in an upload failing?
Any suggestions gratefully received.