Page 1 of 1

Page Compression

Posted: Thu Mar 24, 2005 11:57 pm
by bharathlaser
Hi,

I am working on PHP on IIS. I am trying to implement compression of web pages when requested. So i am using gzcompress() function after cheking $HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"]. But when i print the out put of gzcompress() insted of the page i am getting junk like

".‹xÚíX]o›0}^¤üOQÇZ¥ ˜

Posted: Fri Mar 25, 2005 12:01 am
by feyd
headers that say you are encoding the page. ;)


Moved to PHP - Code.