On Wed, Jul 9, 2008 at 3:19 PM, tedd <tedd.sperling@xxxxxxxxx> 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 is thrown if it's not there. are you saying the trigger_error() isnt getting hit? could be an ini / .htaccess etc. issue. give die('class ZipArchive does not exist!'); a try or check the error_reporting configuration value in your php environment. -nathan