http://www.sou8.com/mobile_search.htm
页面上面有个要求输入的框确定后返回一个值
我用delphi该如何做并求到他的数值

解决方案 »

  1.   

    发送一个Http请求到
    http://www.imobile.com.cn/simcard.php?simcard=[手机号码]
    然后取得返回HTML页面,在页面中取得所要的数据
      

  2.   

    tttk(网络芝麻)
        就是这个意思!!!怎么写?qzmp_sc(你是白云~我是乌鸦) 
        不就是没有数据库吗 你有吗
      

  3.   

    可以直接使用WinINet API函数进行通讯。
    以下是基本步骤:
    InternetConnect
    HttpOpenRequest
    HttpSendRequest
    InternetReadFile
    InternetCloseHandle
      

  4.   

    或者你可以直接使用IdHttp组件进行通讯,这样通讯的细节你可以不用关心。
      

  5.   

    procedure TForm1.Button1Click(Sender: TObject);
    var
      LoginInfo:TStrings;
      Response:TStringStream;
      i:Integer;
      Cookie:string;
    begin
      Cookie:='';
      Response := TStringStream.Create('');
      LoginInfo := TStringList.Create;
      try
        LoginInfo.Clear;
        LoginInfo.Add('id='+trim(form1.Edit1.Text));
        try
         IdHTTP1.Post('http://flash.chinaren.com/ip/id.php',LoginInfo,Response);
        except
        showmessage('登陆失败');
        end;
        showmessage(Response.DataString);    //从返回的页面中找出cookie
      finally
      LoginInfo.Free;
      Response.Free;
    end;  
    end;
    可是没有取道我要的数值呀