Tuesday, August 25, 2009

get current URL in PHP

$url = "http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]"

No comments:

Post a Comment