Http://flash.chinaren.com/ip/id.php?what is passed? 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 ('logon failed ');
End;
Showmessage (response. datastring );
Finally
Logininfo. Free;
Response. Free;
End;
End;
Why do I get the expected value?
Please take a look
Upup
Assume edit1.text: = '12 ';
It may be like this:
Access http://flash.chinaren.com/ip/id.php in IE? Id = 12
Yes, but "http://flash.chinaren.com/ip/id.php? Id = 12
"Nothing is available.
Upup