htaccess turn on php flags if certain IP address
        Posted  
        
            by fire
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by fire
        
        
        
        Published on 2010-06-16T10:24:32Z
        Indexed on 
            2010/06/16
            10:32 UTC
        
        
        Read the original article
        Hit count: 177
        
In my .htaccess file I need to turn on the following:
php_flag display_errors On
php_value error_reporting 2147483647
However I only want to do this if my IP is visiting the site.
Any ideas?
Something like...
if (ip == "x.x.x.x") {
  php_flag display_errors On
  php_value error_reporting 2147483647
}
Need to do this in .htaccess NOT in the PHP thanks!
© Stack Overflow or respective owner