<?php $uri = $_SERVER['REQUEST_URI']; ?>

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

deneyin hocam