用这个应该没有什么限制:
"location.href="

解决方案 »

  1.   

    header
    (PHP 3, PHP 4 )header -- Send a raw HTTP header
    Description
    void header ( string string [, bool replace [, int http_response_code]])
    header() is used to send raw HTTP headers. See the HTTP/1.1 specification for more information on HTTP headers. 
    楼主可以看看手册里面的详细解释
      

  2.   

    不要用header
    用echo "<script>location.href='www.a.com/a.wmv';</script>";
      

  3.   

    echo "<script>location.href='www.a.com/a.wmv';</script>";
    跟这header有区别
      

  4.   

    Header转向要在页面所有输出之前
    转向非HTML文档不要使用header
    echo前面需要用header设置文件属性,默认的text/plain不能正常打开wmv