Get The current Page URL in PHP

<?php
$current_url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
echo $current_url;
?>

0 comments: