This is killing me.
It worked for so long, and now, it doesn't. This is an xml file. I found file_get_contents to be more reliable, so I went that route. It worked for days, up until last night. I have no clue what I changed, and what it used to be before I broke it. Whatever it was, it had to be minor.
<?php
header('Content-Type: text/xml');
echo '<?xml version="1.0" encoding="ISO-8859-1"?>';
$cfile = $_GET["q"];
$cfile=$cfile.'.xml';
$xml = file_get_contents($cfile); //simplexml_load_file
echo $xml;
return;