Re: zippidity do duh!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux