Thursday 5 February 2015

getting current url of page

<?php 

$zx = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 


echo $zx;
?>

No comments:

Post a Comment