note 46736 added to function.gzopen
| From: | dtorop932 at hotmail dot com | Date: | Thu, 21 Oct 2004 19:04:18 +0000 |
| Subject: | note 46736 added to function.gzopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78899@lists.php.net to get a copy of this message | ||
RE dubious's comment: "Being able to read gzip streams from ftp and http is near the top
of my personal wishlist at the moment..."
One way to read a gzip stream over http is to daisychain stream wrappers, e.g.:
<?
$fp = fopen("compress.zlib://http://some.website.org/example.gz",
"r");
?>
----
Manual Page -- http://www.php.net/manual/en/function.gzopen.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46736
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46736&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46736&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46736&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46736&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46736&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46736&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46736&report=yes
Search -- http://master.php.net/manage/user-notes.php