title: DOMDocument load php file?
body: <p>I have a php file, with xml headers, that i wish my script to load.</p>
  
  <pre><code>$doc = new DOMDocument();
  $doc-&gt;load( 'xmlscript.php' );
  </code></pre>
  
  <p>Will not work, only files with *.xml. How can i make it load the file, like it is a xml file?</p>
  
  <p>Since it's the data from db, that it shows in xml format, the file is in .php.</p>