Hello,
I try to make fopen("http://www.some.domain", "r").
Then fpassthru - all seems to be good. I see title page of www.some.domain in a browser.
But when I try fopen("http://www.some.domain/script.pl?var1=123&var2=567", "r"). And then fpassthru, I see some junk in the browser. It looks, like gzip file.
When I type http://www.some.domain/script.pl?var1=123&var2=567 in the browser, I see html page.
How can I convert received gzip to standart html?
Or how can I receive html instead of gzip?