smaller reset larger         

Main Menu

All times are in GMT -5 :: The time is now 7:35 am.

Sub Menu

Article Data
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
 
(Lost?)

Helpdesk News

   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:

 

; change value as required, in megabytes (M)
post_max_size = 10M
upload_max_filesize = 10M

 
CHMOD value of this file should be set to no greater than 0644


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.

How Useful Was This Article?      (Rating: 0    Votes: 0)  

Select a Rating

Article Comments 

There are currently no comments.