Main Menu
Sub Menu
- Article Ref
- 5177-TICN-2838
- Written By
- anand
- Date Created
- Thu, 22nd Nov 2007
- Updated By
- CIAN Technologies Inc. Staff
- Date Modified
- Fri, 26th Mar 2010
HOW-TO: Increase Form Post & Upload Size
Question
PROBLEM
PHP has a default post/upload size of 2MB. You can adjust this value by using the below procedure, however, the idea is that a higher value would cause more server resource usage potentially leading to your account being suspended. Therefore, please use and adjust this value within reason.
Answer
SOLUTION
Create a blank file in your script's directory called php.ini and add the following lines of code:
post_max_size = 10M
upload_max_filesize = 10M
KNOWN ISSUES
- This method is under strict surveillance. Abuse will not be tolerated. Use your reasonable judgment before setting any values.
- PHP 5.x compatible method
- A reminder, we do not support or debug scripts as part of our normal support service if it's not a server-related issue. A fee may be charged for such requests.
Article Comments
There are currently no comments.



