1、header("Location:**");
2、<script language="javascript">location="**"</script>
3、<meta http-equiv=refresh content='0;url=**'>

解决方案 »

  1.   

    说详细点:
    1、header("Location:www.xxx.com");
    2、<script language="javascript">location="www.xxx.com"</script>
    3、<meta http-equiv=refresh content='0;url=www.xxx.com'>
      

  2.   

    ......借用tian_yf(阿飞)的
    1、header("Location:www.xxx.com");  //前面不要有输出
    2、exit('<script language="javascript">location="www.xxx.com"</script>');
    3、exit("<meta http-equiv=refresh content='0;url=www.xxx.com'>");
      

  3.   

    <?php>
    header("Location:www.163.com");
    exit('<script language="javascript"> location="www.163.com" </script>');
    exit("<meta http-equiv=refresh content='0;url=www.163.com>");
    ?>
    是不是这样?
    怎么不行?
      

  4.   

    <?php
    exit("<meta http-equiv=refresh content='0;url=http://www.163.com'>");
    ?>
      

  5.   

    <?php
    exit("<meta http-equiv=refresh content='0;url=http://www.163.com'>");
    ?>
    好用了,谢谢了!
      

  6.   

    <?php
    header("Location:www.163.com");
    ?>Do you know PHP???
      

  7.   

    对不起我是做嵌入式的,不懂php,但是我只是想实现这个功能,我也没有必要再去看书了.