note 19672 added to function.extension-loaded
| From: | mit at juilliard dot edu | Date: | Thu, 07 Mar 2002 07:54:11 +0000 |
| Subject: | note 19672 added to function.extension-loaded | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27459@lists.php.net to get a copy of this message | ||
to clarify something about the above post, extension_loaded() is case sensitive, and you may be
surprised by the case of the extension name. For example I wrote a wrapper file rrd_graph.php
around the rrdtool.so functions (i wanted to check it out, and I wrote these functions to make
rrdtool much more 'manageable' in my mind), and to check if rrdtool.so is loaded I do
if (!extension_loaded("RRDTool"))
dl("rrdtool.so");
take care
-mateusz-
--
http://www.php.net/manual/en/function.extension-loaded.php
http://master.php.net/manage/user-notes.php?action=edit+19672
http://master.php.net/manage/user-notes.php?action=delete+19672
http://master.php.net/manage/user-notes.php?action=reject+19672