RE: [PHP] Debugging custom streams
| From: | Jared Williams | Date: | Fri, 10 Feb 2006 22:06:08 +0000 |
| Subject: | RE: [PHP] Debugging custom streams | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230232@lists.php.net to get a copy of this message | ||
> WILD GUESS!!!
>
> Since you're NOT closing off the streams, PHP is trying to
> close them for you, but you've unset various variables and
> whatnot, and confused PHP into fclose()ing the WRONG thing.
Hmm, I said all streams are getting closed.
If they were not then a malformed zip would be created.
As only when a stream is closed that you can determine the size and crc, to write to zip headers.
Jared