My script uses mcrypt_decrypt() and mcrypt_encrypt().
Is it possible to programmatically test and see if this is "installed" on the host system?
Thank!
| SitePoint Sponsor |




My script uses mcrypt_decrypt() and mcrypt_encrypt().
Is it possible to programmatically test and see if this is "installed" on the host system?
Thank!




Look at function_exists():
http://ca3.php.net/function_exists


You could check phpinfo() too.
Bookmarks