I need to get the full URL of a web page including http://. How can I do it using PHP?
$your_url= "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
$your_url= "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";