note 36650 added to function.bzopen
| From: | boryn at rn2 dot php dot net | Date: | Fri, 17 Oct 2003 11:10:18 +0000 |
| Subject: | note 36650 added to function.bzopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58751@lists.php.net to get a copy of this message | ||
I can use the following code:
<?php
$logfile = bzopen('test.bz2', "w");
bzwrite($logfile, "test line\n");
bzclose($logfile);
?>
but cannot:
<?php
$logfile = bzopen('test.bz2', "a");
bzwrite($logfile, "test line\n");
bzclose($logfile);
?>
Difference is in the second parameter of bzopen();
Does anyone know the solution for this problem? Or is it a bug?
----
Manual Page -- http://www.php.net/manual/en/function.bzopen.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36650
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36650&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36650&report=yes
Search -- http://master.php.net/manage/user-notes.php