I am using php for one of my projects. I have a URl which has the set of XML of a specific site. The URL is in the format http://www.sitefeed.com/somekey&&gZipCompress=yes. I want to read the contents of this file with out downloading it into my server.
I tried compress.zlib: in front of the URL but it returned an empty array.
Thanks
If you have your php variable “allow_url_fopen” on, you can use:
If not, you can use file_get_contents, or even curl .