> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php