<?php
header("Location: http://www.hao123.com?a=1"); /* Redirect browser *//* Make sure that code below does not get executed when we redirect. */
exit;
?>

解决方案 »

  1.   

    header("location:../error.jsp?id=1&meta=3");
      

  2.   

    header("Location: ../XXXX.php?id=1$meta=3");
      

  3.   

    不行啊出现错误
    错误信息如下:
    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\radiusd\managerLogin.php:9) in C:\Program Files\Apache Group\Apache2\htdocs\radiusd\managerLogin.php on line 19
      

  4.   

    在使用header函数时,之前不能有输出
      

  5.   

    这个和php关系不大啊echo "<meta http-equiv=\"refresh\" content=\"2;URL=xxx.php?a=1&b=2&c=3\">";
      

  6.   

    $a = $_GET['a'];
    $b = $_GET['b'];
    $c = $_GET['c'];