try:
header("location:$id_user[sys_url]");
-->
echo("location:$id_user[sys_url]");This will help you to find out the error.

解决方案 »

  1.   

    if($go == "" || $id == "")
    {
        header("location:$ym");
        exit;
    }
    改成
    if((!isset($go)) ||(!isset($id)))
    {
        header("location:$ym");
        exit;
    }
    再看一下!
      

  2.   

    不好意思,2个方法我都试了,情况还是一样,还是连接到首页,
    我想是下面部分出了问题:
    if($go == "" || $id == "")
    {
        header("location:$ym");
        exit;
    }
    可能$go $id 并没有输入,谢谢了
      

  3.   

    可能php.ini的配置错了,
    register_global = on