note 67256 deleted from function.get-loaded-extensions by nlopess
| From: | nlopess@php.net | Date: | Sun, 17 Dec 2006 19:11:54 +0000 |
| Subject: | note 67256 deleted from function.get-loaded-extensions by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-120674@lists.php.net to get a copy of this message | ||
Note Submitter: gud_AT_dulmens_dk
----
Just a brief note. A nice way of checking if zip is enabled:
$load_ext = get_loaded_extensions();
if (in_array("zip", $load_ext))
$zip_ok = 1;
else
$zip_ok = 0;