Re: File upload
| From: | raditha dissanayake | Date: | Fri, 23 Apr 2004 13:36:15 +0000 |
| Subject: | Re: File upload | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184387@lists.php.net to get a copy of this message | ||
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_sizePlease 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