1 Reply Latest reply on Sep 12, 2008 5:48 AM by Newsgroup_User

    LoadVars.sendAndLoad() cannot POST

      i find that i cannot POST data with LoadVars.sendAndLoad(),
      i use firebug for tracking request data

      in the code, "request_receiver.php" is used to show $_REQUEST, $_POST & $_GET

      parameters were sent succesfully from lv when i set the method to GET
      but when i set method to POST, there's no data sent from lv
      which means php didn't received any POST data

      also i tried LoadVars.send()
      the POST value sent successfully~~ but i dont need to refresh the page nor popup a new page

      PS:dont suggest me using alternative way, i want to figure out why the method failed suddenly while i've been using this method long time ago without any error

      thankyou

      here is my code:
      ---------------------------
      var lv:LoadVars = new LoadVars();
      var rv:LoadVars = new LoadVars();

      mcc.onRelease = function() {
      lv.para1 = 1;
      lv.para2 = 2;
      lv.para3 = 3;

      rv.onLoad = function(succ) {
      //blar blar blar
      };

      lv.sendAndLoad("request_receiver.php",rv,"POST");
      };