title: Absolute paths in Mac and Windows
body: <p>I have a PHP program that uses dom->save() with an absolute path.</p>
  
  <pre><code>Applications/XAMPP/xamppfiles/htdocs/feed/ultrafeed.xml
  </code></pre>
  
  <p>I will be using this on both Mac and Windows machines so is there a way to create a path that is either relative or independent of the user's platform?</p>