PHP - 重定向网站的信息

Jay*_*Jay 0 html php redirect

我想将用户重定向到一个网站,并在网站上显示"重定向...请稍候"的信息.做这件事的方法是什么?我可以使用HTML和PHP.

Mig*_*ork 5

尝试一下:

<!DOCTYPE HTML>
<html>
<head>
    <title>Page Moved</title>
    <meta http-equiv="refresh" content="3;URL='http://www.example.com/'" />    
</head>
<body>
    <p>This page has moved to <a href="http://www.example.com/">www.example.com</a>.</p>
    <p>You will be redirected within 3 seconds.</p>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)