note 14201 added to function.parse-url.php
| From: | rasmus@php.net | Date: | Sun, 22 Jul 2001 07:12:19 +0000 |
| Subject: | note 14201 added to function.parse-url.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15650@lists.php.net to get a copy of this message | ||
I tend to simply check if $SERVER_PORT==443 to check if the user is on the SSL side of the house.
Seems simpler than trying to tear the URL apart.
http://www.php.net/manual/en/function.parse-url.php