PHP获取当前URL

Filed Under (php) by boymg on 13-10-2007

echo 'http://'.$_SERVER['SERVER_NAME'].':'.$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
?>

Post a comment

You must be logged in to post a comment.