I have a XML variable (string). I want to output it to a XML file. I'm using
<?php
header("Content-type: application/gps");
header("Content-Disposition: attachment; filename=paring.xml");
print $xml;
?>
But I get an error message from my browser: "Cannot download 'filename'
file"
>> Stay informed about: Output XML file!