0 Replies Latest reply on Nov 28, 2006 4:19 AM by yoyoangel

    about  addRequestHeader()

    yoyoangel
      the a.swf have this ActionScript

      var lv=new LoadVars();
      lv.addRequestHeader("REFERER:","---");
      lv.addRequestHeader("User-Agent","===");
      lv.send(" http://localhost/test.php","_level0","POST");


      1--open it in flasplay at local computer .
      send header upadte referer and user-agent
      the apache server logs like this
      192.168.10.139 - - [28/Nov/2006:16:37:41 +0800] "GET /test.php HTTP/1.1" 200 13 "---" "==="
      ~~~~~~~~~~~~~~~~~~~~~~~beautyful~~~~~~~~~

      2-- a.swf in IE .
      can not send header or other reason?
      the apache server logs like this
      192.168.10.139 - - [28/Nov/2006:16:47:41 +0800] "GET /test.php HTTP/1.1" 200 13 " http://localhost/a.swf" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"

      3-- a.swf in FileFox .
      can not send header or other reason?
      the apache server logs like this
      192.168.10.139 - - [28/Nov/2006:17:43:17 +0800] "GET /test.php HTTP/1.1" 200 13 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8"


      can you help me, how can send this header in IE and FileFox ?