Re: [PHP] zippidity do duh!

2008-07-09 Thread Nathan Nobbe
On Wed, Jul 9, 2008 at 6:52 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > try triggering an E_FATAL instead of E_NOTICE and you'll see > there is no need to use Exceptions in this case (albeit that > it's an acceptable alternative). > minor but, it would have to be E_USER_ERROR, because you can on

Re: [PHP] zippidity do duh!

2008-07-09 Thread Eric Butera
On Wed, Jul 9, 2008 at 8:52 PM, Jochem Maas <[EMAIL PROTECTED]> wrote: > Daniel Brown schreef: >> >> On Wed, Jul 9, 2008 at 3:43 PM, tedd <[EMAIL PROTECTED]> wrote: >>> >>> However, on server [2] (Daniel Brown's most excellent service, btw), >>> everything works great -- as is usual (every time I s

Re: [PHP] zippidity do duh!

2008-07-09 Thread Jochem Maas
Daniel Brown schreef: On Wed, Jul 9, 2008 at 3:43 PM, tedd <[EMAIL PROTECTED]> wrote: However, on server [2] (Daniel Brown's most excellent service, btw), everything works great -- as is usual (every time I say something like this he gives me another month of free service). :-) Dan box isn't d

Re: [PHP] zippidity do duh!

2008-07-09 Thread Nathan Nobbe
On Wed, Jul 9, 2008 at 4:56 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > On Wed, Jul 9, 2008 at 6:53 PM, tedd <[EMAIL PROTECTED]> wrote: > > At 4:37 PM -0600 7/9/08, Nathan Nobbe wrote: > >> > >> On Wed, Jul 9, 2008 at 3:19 PM, tedd > >> <[EMAIL PROTECTED]> wrote: > >> >

Re: [PHP] zippidity do duh!

2008-07-09 Thread Eric Butera
On Wed, Jul 9, 2008 at 6:53 PM, tedd <[EMAIL PROTECTED]> wrote: > At 4:37 PM -0600 7/9/08, Nathan Nobbe wrote: >> >> On Wed, Jul 9, 2008 at 3:19 PM, tedd >> <[EMAIL PROTECTED]> wrote: >> >> At 2:00 PM -0600 7/9/08, Nathan Nobbe wrote: >> >> >> >> if(class_exists('ZipArchiv

Re: [PHP] zippidity do duh!

2008-07-09 Thread tedd
At 4:37 PM -0600 7/9/08, Nathan Nobbe wrote: On Wed, Jul 9, 2008 at 3:19 PM, tedd <[EMAIL PROTECTED]> wrote: At 2:00 PM -0600 7/9/08, Nathan Nobbe wrote: if(class_exists('ZipArchive', false)) $zip = new ZipArchive(); else trigger_error('class ZipArchive does not e

Re: [PHP] zippidity do duh!

2008-07-09 Thread Nathan Nobbe
On Wed, Jul 9, 2008 at 3:19 PM, tedd <[EMAIL PROTECTED]> wrote: > At 2:00 PM -0600 7/9/08, Nathan Nobbe wrote: > >> >> >> if(class_exists('ZipArchive', false)) >> $zip = new ZipArchive(); >> else >> trigger_error('class ZipArchive does not exist!', E_USER_NOTICE); >> >> -nathan >> > > It works,

Re: [PHP] zippidity do duh!

2008-07-09 Thread Nathan Nobbe
On Wed, Jul 9, 2008 at 3:10 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > On Wed, Jul 9, 2008 at 4:00 PM, Nathan Nobbe <[EMAIL PROTECTED]> > wrote: > > On Wed, Jul 9, 2008 at 1:43 PM, tedd <[EMAIL PROTECTED]> wrote: > > > >> Hi gang: > >> > >> I'm trying to do some zip stuff, but on server [1] my s

Re: [PHP] zippidity do duh!

2008-07-09 Thread tedd
At 2:00 PM -0600 7/9/08, Nathan Nobbe wrote: if(class_exists('ZipArchive', false)) $zip = new ZipArchive(); else trigger_error('class ZipArchive does not exist!', E_USER_NOTICE); -nathan It works, (thanks) but no error is thrown if it's not there. Cheers, tedd -- --- http://sperlin

Re: [PHP] zippidity do duh!

2008-07-09 Thread Eric Butera
On Wed, Jul 9, 2008 at 4:00 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote: > On Wed, Jul 9, 2008 at 1:43 PM, tedd <[EMAIL PROTECTED]> wrote: > >> Hi gang: >> >> I'm trying to do some zip stuff, but on server [1] my script hangs on: >> >> $zip = new ZipArchive(); >> >> No errors, no anything, it just h

Re: [PHP] zippidity do duh!

2008-07-09 Thread Daniel Brown
On Wed, Jul 9, 2008 at 3:43 PM, tedd <[EMAIL PROTECTED]> wrote: > > However, on server [2] (Daniel Brown's most excellent service, btw), > everything works great -- as is usual (every time I say something like this > he gives me another month of free service). :-) Yeah, and we're somewhere in

Re: [PHP] zippidity do duh!

2008-07-09 Thread Nathan Nobbe
On Wed, Jul 9, 2008 at 1:43 PM, tedd <[EMAIL PROTECTED]> wrote: > Hi gang: > > I'm trying to do some zip stuff, but on server [1] my script hangs on: > > $zip = new ZipArchive(); > > No errors, no anything, it just hangs -- I assuming that ZipArchive is not > available. > > --- > > However, on ser

Re: [PHP] zippidity do duh!

2008-07-09 Thread David Giragosian
On 7/9/08, tedd <[EMAIL PROTECTED]> wrote: > Hi gang: > > I'm trying to do some zip stuff, but on server [1] my script hangs on: > > $zip = new ZipArchive(); > > No errors, no anything, it just hangs -- I assuming that ZipArchive is not > available. > > --- > > However, on server [2] (Daniel Brown

[PHP] zippidity do duh!

2008-07-09 Thread tedd
Hi gang: I'm trying to do some zip stuff, but on server [1] my script hangs on: $zip = new ZipArchive(); No errors, no anything, it just hangs -- I assuming that ZipArchive is not available. --- However, on server [2] (Daniel Brown's most excellent service, btw), everything works great --