note 33691 added to function.bzopen
| From: | nothing at rack1 dot php dot net | Date: | Fri, 04 Jul 2003 04:05:33 +0000 |
| Subject: | note 33691 added to function.bzopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51491@lists.php.net to get a copy of this message | ||
The manual is correct, the example is flawed.
To read the whole compressed file, you just have to read it in chunks.
ie.
while(!feof($zp)){
$data .= bzread($fp, 4096)
}
----
Manual Page -- http://www.php.net/manual/en/function.bzopen.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33691
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33691&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33691&report=yes