php URL jump code_PHP tutorial

WBOY
Release: 2016-07-13 10:26:41
Original
999 people have browsed it

URL jump code 1. Code: 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: =3)){ header("Location:"."http://". $url); } ?> URL redirect page

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/822519.htmlTechArticleURL jump code 1. Code: ? $url=$_GET[url];header(Location:.http ://.$url);? If saved as aaa.php, it can achieve the effect of jumping to Baidu from aaa.php?url=www.baidu.com. This simple call...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!