Need ability to set configuration options using single method which will work across multiple server configurations.
- by JMC Creative
I'm trying to set post_max_size and upload_max_filesize in a specific directory for a web application I'm building. I've tried the following in a .htaccess file in the script directory. (upload.php is the script that needs the special configuration)
<Files upload.php>
php_value upload_max_filesize 9998M
php_value post_max_size 9999M…