I've redesigned my photo album site to work based on XML. As a security precaution I have people log into php and use php to serve the xml.gz files.
If I sent the file directly to ie it works no problem
If I do:
header("Content-Encoding: x-gzip");
header("Content-Type: application/xml");
echo file_get_contents($fileName);
It complains:
An invalid character was found in text content. Error processing resource 'http://photoalbum.carterfamily.ca/blogViewer/Blog_Old_10.xml.gz'. Line 1, Position 2
What am I missing here?