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

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -