URL jump code 1. Code: $url=$_GET["url"];header("Location:"."http://".$url);?> Such as Save it as aaa.php, you can achieve the effect of aaa.php?url=www.baidu.com jumping to Baidu. This simply calls the default $_GET variable. And php default jump Location: 2. Instance upgrade: increase if loop code: Copy the code as follows: $url=$_GET["url"]; if (strlen($url >=3)){ header("Location:"."http://". $url); } ?>