How can I change PHP settings using .htaccess?
Introduction This FAQ explains how to set boolean PHP configuration directives using php_flag. The format for php_flag is: php_flag name on|off Directions 1. Open the .htaccess file located in your site’s home directory, or if you don’t have one, create a blank one now. Note the period character (.) at the beginning of the file name. 2. Add any of the following code samples to your .htaccess file, each on it’s own line. These sample commands will prevent common global variable injection attacks, cross site scripting (XSS) sttacks, and code injection attacks.