访问http://www.xiaogou.tv/?xiezai现在是转到首页   我想让他转到指定的页面怎么弄? 本人不懂这个 求助...

解决方案 »

  1.   

    转到置顶的页面?
    Header("Location: http://www.武藤兰.net"); 
      

  2.   

    if ($_SERVER['QUERY_STRING'] == 'xiezai')
    {
    header('Location: YOUR_REDIRECTING_URL');
    }
      

  3.   

    在ASP中的Response对象里有一个方法是Redirect.用来定向到一个指定页面.格式为:
    Response.redirect "http://www.baidu.com"这个方法的前提是Response.Buffer=True
      

  4.   

    Response.redirect "http://www.ydtuiguang.com"@header('Location: http://www.ydtuiguang.com');