title: PHP require path - same directory
body: <p>I have index.html in the root and all supporting files in /HTML. I have Google analytics code in a file in the HTML directory. It works from my index.html with this code in between the head tags...</p>
  
  <pre><code>&lt;?php
  require('HTML/GoogleAnalytics.html');
  ?&gt;
  </code></pre>
  
  <p>but not in any of the supporting files in the HTML directory, same directory as the file i'm trying to require/include with this code...</p>
  
  <pre><code>&lt;?php
  require('GoogleAnalytics.html');
  ?&gt;
  </code></pre>
  
  <p>from PHP.net "...include will finally check in the calling script's own directory and the current working directory before failing"</p>
  
  <p>What am I doing wrong?</p>