note 102253 deleted from function.gzdecode by danbrown
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
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)));
?>