Pre-apologies if this suggestion is too "duh", but have you confirmed that you updated the correct php.ini file?
One way to check is to create a temporary, web-accessible file (phpinfo.php) with the contents: <?php phpinfo(); ?> Load that in your browser and check that the path of the php.ini file apache is using matches the file you've updated. I haven't touched php since v4.x, so there may be an easier way to confirm this nowadays. Also, you should be sure to delete that phpinfo.php file when you're done so you're not unnecessarily publishing your server details. --jay On 2/9/07, Thomas Dowling <[EMAIL PROTECTED]> wrote:
I have always depended on the kindness of strange PHP gurus. I am trying to rewrite a perpetually buggy system for uploading large PDF files (up to multiple tens of megabytes) via a web form. File uploads are very simple in PHP, but there's a default maximum file size of 2MB. Following various online hints I've found, I've gone into php.ini and goosed up the memory_limit, post_max_size, and upload_max_size (and restarted Apache), and added an appropriate hidden form input named MAX_FILE_SIZE. The 2MB limit is still in place. Is there something I overlooked? Or, any other suggestions for how to take in a very large file? [My current Perl version has a history of getting incomplete files in a non-negligible percentage of uploads. Weirdness ensues: whenever this happens, the file reliably cuts off at the same point, but the cutoff is not a fixed number of bytes, nor is it related to the size of the file.] -- Thomas Dowling [EMAIL PROTECTED]
