title: Need help fixing a PHP .htaccess error after server transfer
body: <p>I have many HTML files which use PHP. I remedy this by using the .htacess code ...</p>
  
  <pre><code>AddType application/x-httpd-php .php .html .htm
  </code></pre>
  
  <p>... and it works fine (in most cases).</p>
  
  <p>I use a browser sniffer to detect which browser my users are using and if they don't use IE then I display a navigation bar. the code is here ...</p>
  
  <pre><code>include('http://domain/browser.php'); $browser = new Browser(); if( $browser-&gt;getBrowser() == Browser::BROWSER_IE) { } else{ include('http://domain.com/bottom-nav.php'); }
  </code></pre>
  
  <p>All of this worked fine before but I just did a server transfer and now only this PHP code breaks, giving me this error.</p>
  
  <pre><code>Warning: include_once() [function.include-once]: URL file-access is disabled in the server configuration in /home/myname/public_html/index.html on line 359
  </code></pre>