RE: [PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
> 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

RE: [PHP] Debugging custom streams

2006-02-10 Thread Richard Lynch
t; >>To: [EMAIL PROTECTED] >> >>Cc: php-general@lists.php.net >> >>Subject: Re: [PHP] Debugging custom streams >> >> >> >>Jared Williams wrote: >> >> >> >>>Hi, >> >>> Short version, is there any way of listi

RE: [PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
Ahha, after some rethinking, I've dropped the append custom stream, as its not really required. And instead of using a custom in memory stream for handling the central directory stream, just using tmpfile(), the application error has disappeared. Jared > > >>Jared Williams wrote: > > >> > >

RE: [PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
> > > >>-Original Message- > >>From: Jochem Maas [mailto:[EMAIL PROTECTED] > >>Sent: 10 February 2006 14:17 > >>To: [EMAIL PROTECTED] > >>Cc: php-general@lists.php.net > >>Subject: Re: [PHP] Debugging custom streams > >&

Re: [PHP] Debugging custom streams

2006-02-10 Thread Jochem Maas
Jared Williams wrote: -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: 10 February 2006 14:17 To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: Re: [PHP] Debugging custom streams Jared Williams wrote: Hi, Short version, is there any way of

RE: [PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
> -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: 10 February 2006 14:17 > To: [EMAIL PROTECTED] > Cc: php-general@lists.php.net > Subject: Re: [PHP] Debugging custom streams > > Jared Williams wrote: > > > > Hi, > &

Re: [PHP] Debugging custom streams

2006-02-10 Thread Jochem Maas
Jared Williams wrote: Hi, Short version, is there any way of listing all open resources from within a PHP script? Think I may have a problem relating to the object/resource shutdown order within PHP, but cant see which custom stream handler still has an open resource. Long v

[PHP] Debugging custom streams

2006-02-10 Thread Jared Williams
Hi, Short version, is there any way of listing all open resources from within a PHP script? Think I may have a problem relating to the object/resource shutdown order within PHP, but cant see which custom stream handler still has an open resource. Long version... I've