I've got a weird one for you folks, if you don't mind helping out.
I'm currently working on a project which, among other things, allows users to upload large text files to be processed. These files can (and will) exceed 10MB, so it's dealing with some pretty hefty files.
The problem I'm running into is a strange one. On one server (let's call it server "A"), if the file you're uploading is greater than, say, 400K it'll give you an error (Page cannot be displayed in IE, Document contains no data in Firefox).
I took the code, moved it over to a different server (let's call it server 😎, and all works well - I can upload any size file I want.
I looked over the php.inis between the two, and they're identical. The "post_max_size" is the same on both, along with file_uploads, upload_max_filesize, and upload_tmp_dir.
What's really killing me is that this script was running just fine previously. I'm not sure at all what changes there have been that could have affected this.
Any ideas? Both servers are running Apache2, but Server A is running PHP 4.2.2, while Server B is running PHP 5.0.2.
Thanks,
~TF