基于Google帐户的身份验证。
如何根据当前用户创建重定向链接 例如:我的网站: www.test.com/home
www.test.com/User A
www.test.com/user B
注意:PHP不支持我的应用程序
答案 0 :(得分:2)
<?php
$user=$_POST['user'];
Header("Location: www.test.com/".$user);
exit;
?>
答案 1 :(得分:1)
这是基于$ user var:
的简单重定向Header("Location: http://mypage.com/".$user);