You can use js to simulate posting the data.

解决方案 »

  1.   

    xmlHttp.open("POST",url,true);xmlHttp.send(data);
      

  2.   

    as i have mentioned if i use the js way ,i still need to add "?a=1",there is no difference from the get way!
    thanks for your advise!
      

  3.   

    as i have mentioned if i use the js way ,i still need to add "?a=1",
    ------------------------????I don't think you must use "get" to send the data.
    var data = "fromurl=123.php";
    xmlHttp.open("POST", "check.php" ,true);
    xmlHttp.onreadystatechange = yourfunction;
    xmlHttp.setRequestHeader('Content-Type", "application/x-www-form-urlencoded;");
    xmlHttp.send(data);
    and in check.php:
    $fromurl = $_POST['fromurl'];
      

  4.   

    可以用fsocket模拟post动作PHP手册上有,自己看
      

  5.   

    sorry,i misunderstood you,maybe i can slove the problem now,but i am not familiar with the xmlhttp object,so i need to check it out,thanks again.