Re: URL verification

From: Date: Fri, 08 Oct 2004 14:53:08 +0000
Subject: Re: URL verification
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-198970@lists.php.net to get a copy of this message
> how can i check in the page if the user is accessing the the site via SSL ?? > or i have to put a redirect in the page anyway, whether the user is > alredy accessing the page via SSL? if it has to be https, why not just use mod_rewrite to make sure it is. With php you could check $_SERVER['SERVER_PORT'] or $_SERVER['HTTPS']

« previous php.general (#198970) next »