July 17, 2011 at 4:17 pm
· Filed under .htaccess, Apache, PHP
Yesterday I needed to increase the value of upload_max_filesize for a site's admin script/page while other pages of the size didn't require that. It is really easy to do it by using Apache's Files directive in .htaccess for a specific file with the below code.
<Files my.php>
php_value upload_max_filesize 10M
</Files>
Permalink
June 16, 2007 at 6:49 pm
· Filed under .htaccess, Apache, PHP
It is strongly recommended that you do not turn on the register_globals. But if you still want to turn on register_globals then follow these steps
Make a .php file containing only this code
< ?php phpinfo(); ?>
And upload this file to your new server and open in the browser. In the page output find the value for 'register_globals'. If it is off, then you can solve this problem in the following ways
Read the rest of this entry »
Permalink