A script I have uses getenv('SSL_CIPHER_ALGKEYSIZE') to determine the SSL key size. However, I want to get that without using the getenv() function. In phpinfo(), it's listed as CERT_KEYSIZE. How do I get that info in code?
Thanks!
Depends on the section it is under...maybe $ENV['CERT_KEYSIZE'], or $ENV['CERT_KEYSIZE'], or just $CERT_KEYSIZE
Diego
its registered under globals if you have register globals enabled. It will be under $CERT_KEYSIZE
so :
global $CERT_KEYSIZE; //globals must be enabled.