Page 1 of 1

Making Sure Your On A Secure Page ...

Posted: Thu Feb 17, 2005 9:16 am
by neophyte
What is the best way to make sure that a page is directected to the "https://securepage.site.com" -- secure address? Checking the server name and redirecting?

Thanks

Posted: Thu Feb 17, 2005 9:19 am
by feyd
$_SERVER['HTTPS'] exists. $_SERVER['HTTP_HOST'] should be the proper subdomain or whatever you want as well.

Posted: Thu Feb 17, 2005 9:19 am
by neophyte
Thanks for the tip Feyd!