Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php link

$link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]";
 
PREVIOUS NEXT
Tagged: #php #link
ADD COMMENT
Topic
Name
5+8 =