Project / Support Center
Welcome, Guest. Please login or register. December 11, 2019, 04:12: PM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  MySQL/PHP  |  Topic: Increasing Max File upload Size 0 Members and 2 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Send this topic Print
Author Topic: Increasing Max File upload Size  (Read 8428 times)
admin
Guest
« Reply #2 on: May 02, 2006, 06:39: PM »

Actually you missed one other thing to have in the php.ini file it should be:

upload_max_filesize = 100M
post_max_size = 100M

The post_max_size needs to be set for an HTML form that is used to submit the file.

Have used this successfully to upload over 55megs in a form that had 5 upload fields on it. Takes a while to upload but it works.

Depending on your server the php.ini file setting may not work. Assuming your're using an Apache Server you will need to add the following to the .htaccess file or create one with the following code in it:

php_value post_max_size 500M
php_value upload_max_filesize 500M

Make sure the htaccess file is located in the same directory as your php upload form also.
« Last Edit: May 02, 2006, 06:41: PM by Web Global Net Support » Report to moderator   Logged
Guest
Guest
« Reply #1 on: June 15, 2005, 02:19: PM »

Actually you missed one other thing to have in the php.ini file it should be:

upload_max_filesize = 100M
post_max_size = 100M

The post_max_size needs to be set for an HTML form that is used to submit the file.

Have used this successfully to upload over 55megs in a form that had 5 upload fields on it. Takes a while to upload but it works.
Report to moderator   Logged
Support
Guest
« on: May 23, 2005, 01:47: PM »

PHP has a standard 2 meg file upload maximum file size setting - in order to increase this amount create a file called php.ini and include this line - upload_max_filesize = 10M or add it to an existing one you have.

Change the 10M to the size you want and save it to the same directory as the file upload form and also the main site directory as well.

- Be forewarned that the larger the size the slower the process and anything over 50MB will most likely timeout on the clients end due to connection issues. If this becomes the case you'll need to create an FTP account to upload larger files
« Last Edit: May 02, 2006, 06:37: PM by Web Global Net Support » Report to moderator   Logged
Pages: [1] Go Up Send this topic Print 
Web Global Net Web Application & Web Development Project Center  |  Technical Issues  |  MySQL/PHP  |  Topic: Increasing Max File upload Size « previous next »
Jump to:  


Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!