I am struggling to read gzipped xml files in php.
I did succeed in reading normal xml files, using XMLReader() like this:
$xml = new XMLReader(); $xm
Expanding on Pascal's post, here is some example code that should work for you
$xmlfile = fopen($linkToXmlFile,'rb'); $compressedXml = fread($xmlfile, filesize($linkToXmlFile)); fclose($xmlfile); $uncompressedXml = gzdecode($compressedXml); $xml = new XMLReader(); $xml->xml($uncompressedXml);