title: How do I format a PHP include() absolute (rather than relative) path?
body: <p>On various pages throughout my PHP web site and in various nested directories I want to include a specific file at a path relative to the root.</p>
  
  <p>What single command can I put on both of these pages...</p>
  
  <pre>http://www.example.com/pageone.php</pre>
  
  <pre>http://www.example.com/somedirectory/pagetwo.php</pre>
  
  <p>...to include this page:</p>
  
  <pre>http://www.example.com/includes/analytics.php</pre>
  
  <p>This does not work:</p>
  
  <pre><code>&lt;?php include('/includes/analytics.php'); ?&gt;
  </code></pre>
  
  <p>Does it matter that this is hosted in IIS on Windows?</p>