Upload_max_filesize

May 12, 2007

I am installing a file hosting script in order to test it, in one of my shared accounts which requires these:

upload_max_filesize = 20M
post_max_size = 30M

my hosts isn't willing to change the values in php.ini so i would like to ask if there is any way to temporarily overide server settings, either by placing somecode in .htacces or by placing a php.ini file in the public_html.

I am going to get a VPS to have full control over my settings but i would to test a few scripts first before spending some money to buy one.

View 5 Replies


ADVERTISEMENT

Prevent .htaccess Override Of Upload_max_filesize Only

Jul 20, 2008

I'm having issues with users setting their upload_max_filesize, and post_max_size values in .htaccess in excess of 500M 1000M

As a result their users are uploading and converting some huge files and pegging my cpu's.

Is there a way to allow .htaccess override for all values except upload_max_filesize & post_max_size

or perhaps there is another solution out there to limit .htaccess by user?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved