Page 1 of 1

reading file contents after using gzuncompress

Posted: Thu Aug 11, 2005 11:28 am
by clem_c_rock
Hello,

I'm trying to read the contents of a compressed file. If I uncompress the contents of the file using gzuncompress and then try to read it I get the usual goobly gook when I echo the contents in this manner:

$buffer = gzuncompress( $buffer, $size ) ;

echo "<p>buffer-->>$buffer<hr>";

Is there anyway to further decode the contents of the file?


Thanks,
Clem C

Posted: Thu Aug 11, 2005 7:51 pm
by Chris Corbyn
What are you trying to uncompress?