note 36651 deleted from function.fopen by vincent
| From: | vincent@php.net | Date: | Fri, 17 Oct 2003 11:51:48 +0000 |
| Subject: | note 36651 deleted from function.fopen by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58758@lists.php.net to get a copy of this message | ||
Note Submitter: boryn (NOSPAM) AT o2 DOT pl
----
I can use the following code:
<?php
$logfile = fopen('compress.bzip2://test.bz2', "w");
fwrite($logfile, "test line\n");
fclose($logfile);
?>
but cannot:
<?php
$logfile = fopen('compress.bzip2://test.bz2', "a");
fwrite($logfile, "test line\n");
fclose($logfile);
?>
Difference is in the second parameter of bzopen();
Does anyone know the solution for this problem? Or is it a bug?
I get an error:
Fatal error: Maximum execution time of 30 seconds exceeded in test.php on line 3