note 105824 deleted from function.gzdecode by danbrown
| From: | danbrown@php.net | Date: | Sun, 18 Sep 2011 15:47:42 +0000 |
| Subject: | note 105824 deleted from function.gzdecode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-183257@lists.php.net to get a copy of this message | ||
Note Submitter: saman
----
This one is working for me:
function gzdecode($data){
return gzinflate(substr($data,10));
}
(simply removing the first 10 chars and using the gzinflate() function on the remaining part)