check if ssl is enabled with php -
I need to run a module for which ssl
should be enabled. How can I find out if SSL
is enabled?
The module generates a form via a Javascript call.
I am using PHP.
I have no access to ssl
.
Thanks a lot!
Use the extension loaded probe!
if (extension_loaded ('openssl')) (new exception throw ('this app requires open SSL PHP extension.');}
Try it;)
Comments
Post a Comment