Tempat Mencatat
Monday, June 29, 2015
PHP : get Request protocol Http or HTTPS
<?php
if
(
$_SERVER
[
'HTTPS'
]
!=
"on"
)
{
echo
"This is not HTTPS"
;
}
else
{
echo
"This is HTTPS"
;
}
<?
http://snipplr.com/view/62373/check-if-url-is-https-in-php/
Newer Post
Older Post
Home