Ragnar wrote:

Hi guys/girls,

I am having some major pain here with a php script handling file uploads.
It's part of an CMS and the file in question takes a PDF, makes a thumbnail
of it and then moves it to it's proper location on the server.

All this works fine with smaller files < ~ 2 MB.

I am having a file that needs to be uploaded to the server though, that is
2.3MB and the script just doesn't handle it.

I have already increased all the PHP.ini setting (i.e. max_file_size,
max_input_time, max_execution_time etc.) but to no avail.


I think you have missed memory_limit and post_max_size
Please visit http://www.radinks.com/upload/config.php for a brief guide on how to configure PHP for large uploads.


You will also have to look at the LimitRequestBody apache directive.






--
Raditha Dissanayake.
---------------------------------------------
http://www.radinks.com/print/upload.php
SFTP, FTP and HTTP File Upload solutions


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to