<?php
GoTo=”index.php”;// 如果这里的目标链接取自数据库就实现了动态转向
header(sprintf(“Location: %s”, GoTo));
?>
方法二:
<?php echo “<script>window.location =”PHP_SELF”;</script>”;?>
方法三:
<?php echo “<META HTTP-EQUIV=”Refresh” CONTENT=”0;URL=index.php”>”?>
<?php
GoTo=”index.php”;// 如果这里的目标链接取自数据库就实现了动态转向
header(sprintf(“Location: %s”, GoTo));
?>
方法二:
<?php echo “<script>window.location =”PHP_SELF”;</script>”;?>
方法三:
<?php echo “<META HTTP-EQUIV=”Refresh” CONTENT=”0;URL=index.php”>”?>