在b.php里面不要用header,用下面代码试试:
<html>
<head>
<meta http-equiv="refresh" content="0;url=c.html">
</head>
</html>

解决方案 »

  1.   

    hsboy(PHP it!),不行啊,我这边必须要用Header阿   5555
      

  2.   

    哪里有必须用header的道理
    改Referer可以用socket直接发送http请求
    header前不能有输出的
      

  3.   

    你可以把你的程序改一下:
    header()改为echo "<script>window.location.replace('/ecard/');</script>";ps:并未测试过,你可以测试一下。
      

  4.   

    查查手册,好像有个这个东西:curl_setopt,也许可用
      

  5.   

    我也有这个问题,如何在header里写refer信息哩