note 33810 modified in function.gzinflate by danbrown

From: Date: Thu, 10 Sep 2009 00:12:50 +0000
Subject: note 33810 modified in function.gzinflate by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-160382@lists.php.net to get a copy of this message
When retrieving mod_gzip'ed content and using gzinflate() to decode the data, be sure to strip the first 10 chars from the retrieved content. <?php $dec = gzinflate(substr($enc,10)); ?> --was-- When retrieving mod_gzip'ed content and using gzinflate() to decode the data, be sure to strip the first 10 chars from the retrieved content. $dec = gzinflate(substr($enc,10)); http://php.net/manual/en/function.gzinflate.php

« previous php.notes (#160382) next »