[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 --

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's most

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 server [2]

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 2011

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 hangs -- I assuming

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 -- ---

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 script hangs on:

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, (thanks) but no error

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 mailto:[EMAIL PROTECTED][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

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 mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: At 2:00 PM -0600 7/9/08, Nathan Nobbe wrote: if(class_exists('ZipArchive', false)) $zip = new

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 mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: At 2:00 PM -0600

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

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 say something like

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 only