I guess the best way is to do this:

extension_loaded -- Find out whether an extension is loaded

Thanks for pointing me in the right direction!

--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]


-----Original Message-----
From: William CANDILLON [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 08, 2004 8:54 AM
To: Gerardo Rojas; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] PHP extensions (dll's)


<?

if (dl(php_mssql.dll) == TRUE) {
echo "php_mssql.dll has been loaded";
}

?>

-----Message d'origine-----
De : Gerardo Rojas [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 8 juin 2004 15:37
À : [EMAIL PROTECTED]
Objet : [PHP-WIN] PHP extensions (dll's)

Is there a way to find out what extensions are loaded, at runtime?  I want
to know if a certain dll is loaded or another one is loaded, so I can write
my code accordingly.  

To be specific:  I want to know if the php_mssql.dll is loaded or the
php_odbtp_mssql.dll has been loaded?  Any input would be appreciated.


--
Gerardo S. Rojas
mailto: [EMAIL PROTECTED]

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

Reply via email to