Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get url with php

$actual_link = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #url #php
ADD COMMENT
Topic
Name
9+8 =