[mapserver-users] is php dll loaded check ?
Daniel Morissette
morissette at dmsolutions.ca
Thu Jan 24 15:26:53 PST 2002
David Armstrong wrote:
>
> is their a way with php to be able to know if the php_proj.dll is loaded
> already
> i.e already loaded in using php.ini extensions
>
> then if not loadit using dl("php_proj.dll"); etc ( or indeed any other php
> dll )
>
You should be able to do this:
if ( !extension_loaded("PHPPROJ") )
{
dl("php_proj.dll");
}
And for MapScript the module identifier is "MapScript":
if ( !extension_loaded("MapScript") )
{
dl("php_mapscript.dll");
}
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
Don't put for tomorrow what you can do today, because if
you enjoy it today you can do it again tomorrow.
More information about the MapServer-users
mailing list