note 102253 deleted from function.gzdecode by danbrown
| From: | danbrown@php.net | Date: | Fri, 04 Feb 2011 15:47:46 +0000 |
| Subject: | note 102253 deleted from function.gzdecode by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176683@lists.php.net to get a copy of this message | ||
Note Submitter: rayro at gmx dot de
----
A note to my previous post:
Function readgzfile does output the contents to stdout, so simple use implode('',gzfile())
insteadof readgzfile().
<?php
$data = implode('',gzfile('data://text/plain;base64,'.base64_encode($data)));
?>