Return XML from via REST in PHP?
<p>I want to write a php script "test.php" that outputs the contents of a "sample.xml" file (with appropriate Content-Type: xml) just as if a user went directly to the "sample.xml". How do I accomplish this? Is there some framework needed?</p>
