URL verification
| From: | Bruno Santos | Date: | Fri, 08 Oct 2004 14:48:52 +0000 |
| Subject: | URL verification | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198967@lists.php.net to get a copy of this message | ||
Hello all.
I have a login page where users have to authenticate themselves to access some site areas.
Apache is configured to use https.
the user when is typing the URL in the browser, i know that it will not put the https protocol.
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?
cheers
Bruno Santos
--
bvsantos@hal.min-saude.pt
--
Divisao de Informatica
informatica@hal.min-saude.pt
Tel: +351 272 000 155
Fax: +351 272 000 257
--
Hospital Amato Lusitano
Av. Pedro Alvares Cabral
6000-085 Castelo Branco
geral@hal.min-saude.pt
Tel: +351 272 000 272
Fax: +351 272 000 257