http_request.open("POST", "getdata.php",false); http_request.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); http_request.send(thedata);