How To Find the Complete Page URL in PHP
erics, Posted October 25th, 2012 at 4:25:07pm
1 2 3 4 5 |
$URL = 'http'; if ($_SERVER["HTTPS"] == "on") { $URL .= "s"; } $URL .= '://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; |
Leave Your Comment
All fields marked with "*" are required.