Hi friends, I would like to print current web page URL and URL from where i got request for current web page url. Any suggestions please...? Thanks so much.
Current Page: (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; Referer Page: $_SERVER['HTTP_REFERER']