GZIP Question

From: Date: Tue, 24 Feb 2004 05:11:40 +0000
Subject: GZIP Question
Groups: php.general 
Request: Send a blank email to php-general+get-178637@lists.php.net to get a copy of this message
Hi, I am using fsockopen with fputs to send some headers to a HTTP server, and I say I accept gzip encoding. The data gets returned and I put it in a variable. However, whichever gzip command I try using in PHP to decompress it (or is it deflate, or both?) returns an error. Is it because the server send it back as hex possibly? (I sniffed the stream and it was hex it looked like, I think). Any ideas? Thanks! Karl

« previous php.general (#178637) next »