Hello Thomas,
Wednesday, January 7, 2004, 2:49:48 AM, you wrote:
TA> My web site has two different ways to be accessed. One is through a SSL
TA> connection and the other not.
TA> Does anyone know how to check either the URL that is being used (https would
TA> give away the SSL) or if you can check if SSL is being used?
I'm pretty sure the following would work:
if ($_SERVER['SERVER_PROTOCOL'] == "HTTP/1.1")
{
echo "Normal site";
}
--
Best regards,
Richard mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php