DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php check whether the url is http or https
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') $link = "https"; else $link = "http";
PREVIOUS
NEXT
Tagged:
#php
#check
#url
#http
#https
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit