On Fri, Jan 13, 2006 at 04:12:08PM -0700, Ray Hauge wrote:
> if( !preg_match("/HTTPS/", $_SERVER['SERVER_PROTOCOL']) ){
>       ....
> }
> 
> That's what I have been using.

Thats odd cause all my servers report this as SERVER_PROTOCOL via
https:

 $_SERVER["SERVER_PROTOCOL"] == HTTP/1.1

Thats odd cause all my servers report this as SERVER_PROTOCOL via
http:

 $_SERVER["SERVER_PROTOCOL"] == HTTP/1.1

Protocol doesn't have to do with how it is being transferred. The
protocol is based on the request being givin:

  GET / HTTP/1.1

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to