delphi2007 教程

delphi2007 教程

首页 新随笔 联系 聚合 管理
  1013 Posts :: 0 Stories :: 28 Comments :: 0 Trackbacks
http://flash.chinaren.com/ip/id.php参数传递的是什么? Delphi / Windows SDK/API
http://www.delphi2007.net/DelphiNetwork/html/delphi_20061212111303142.html
procedure   TForm1.Button1Click(Sender:   TObject);  
  var  
      LoginInfo:TStrings;  
      Response:TStringStream;      
  begin  
      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);      
    finally  
      LoginInfo.Free;  
      Response.Free;  
  end;      
  end;  
  为什么我得到应该有的数值?

请帮忙看看

upup

假设Edit1.Text:='12';  
   
  可能就是这样的效果吧:  
  在IE里访问http://flash.chinaren.com/ip/id.php?ID=12  
 

对呀   但是"http://flash.chinaren.com/ip/id.php?ID=12  
  "什么也得不到

UPUP

posted on 2008-10-28 09:56 delphi2007 阅读(463) 评论(1)  编辑 收藏 引用

Feedback

# re: http://flash.chinaren.com/ip/id.php身份证查验 2010-10-19 12:41 施兆全
身份证查验  回复  更多评论
  

只有注册用户登录后才能发表评论。