Is it possible to redirect a user to a different page through the use of PHP? 是否能够经过使用PHP将用户重定向到其余页面? php
Say the user goes to www.example.com/page.php
and I want to redirect them to www.example.com/index.php
, how would I do so without the use of a meta refresh? 假设用户转到www.example.com/page.php
而且我想将其重定向到www.example.com/index.php
,那么在不使用元刷新的状况下该怎么作? Is it possible? 可能吗? spa
This could even protect my pages from unauthorized users. 这甚至能够保护个人页面免受未经受权的用户的侵害。 .net