note 100775 modified in function.gzinflate by thiago
| From: | thiago@php.net | Date: | Fri, 05 Nov 2010 19:59:15 +0000 |
| Subject: | note 100775 modified in function.gzinflate by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173802@lists.php.net to get a copy of this message | ||
You can use this to uncompress a string from Linux command line gzip by stripping the first 10
bytes:
<?php
$inflatedOutput = gzinflate(substr($output, 10, -8));
?>
--was--
You can use this to uncompress a string from Linux command line gzip by stripping the first 10
bytes:
$inflatedOutput = gzinflate(substr($output, 10, -8));
http://php.net/manual/en/function.gzinflate.php