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
[log in to unmask]
|