Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一种方法,使用 PHP 将页面重定向到基于其序列的另一个 url,就像这样
http://example.com/re.php?=http://google.com
该页面将重定向到google.com。我该怎么做?
网址会更像http://example.com/re.php?url=http://google.com
http://example.com/re.php?url=http://google.com
re.php看起来像:
re.php
header('Location: ' . $_GET['url']);
只是一个指导方针。