How to Limit the size of Uploads and Downloads in using HTACCESS

Posted Posted in HTACCESS

HTACCESS allows you to control the data uploaded limit or download limit from your website. For this you just need to write the following lines to your .htaccess file: php_value upload_max_filesize 20M php_value post_max_size 20M php_value max_execution_time 200 php_value max_input_time 200 **M stands for MB The above lines set maximum upload size, maximum size of data being posted, maximum execution time