Quick Search


Tibetan singing bowl music,sound healing, remove negative energy.

528hz solfreggio music -  Attract Wealth and Abundance, Manifest Money and Increase Luck



 
Your forum announcement here!

  Free Advertising Forums | Free Advertising Board | Post Free Ads Forum | Free Advertising Forums Directory | Best Free Advertising Methods | Advertising Forums > Other Methods of FREE Advertising > Safelist Directory

Safelist Directory Safelists will also work if you use them. The bigger the list the better isn't always true... sometimes the smaller lists can be just as responsive if not more. It all depends on you and your dillegence.

Reply
 
Thread Tools Search this Thread Display Modes
Old 08-16-2011, 08:21 AM   #1
a2bzyoc3
General of the Army
 
Join Date: Mar 2011
Posts: 1,698
a2bzyoc3 is on a distinguished road
Default

Delphi http postWritten by Codes Tips on June 2,Monster Headphones, 2009 � 9:42 am -
To post some data through http protocol in Delphi you can use TIDHttp component.TIDHttp has a function Post that takes 2,Dre Beats Headphones, first parameter is the url where you wanna post data and the second is the data you need to post.The first parameter of Post function is a string and the second one is a TStringList.
Delphi sample code to post data through http. First put in the uses clause IdHTTP
function PostData:string;
var param:TStringList;
valid:boolean;
url,Beats Headphones,text:string;
http:TIDHttp;
begin
http := TIDHttp.Create(nil);
http.HandleRedirects := true;
http.ReadTimeout := 5000;
param:=TStringList.create;
param.Clear;
param.Add('parameter1=1');
param.Add('parameter2=2');
param.Add('parameter3=3');
valid:=true;
url:='http://www.examplesite.com/script.php'; try
text:=http.Post(url,Monster Beats Headphones,param); except
on E:Exception do
begin
valid:=false;
end; end;
if valid then PostData:= text
else PostData := '';
end;
You can call the function like this:
textPostData := PostData();
This function returns empty string if it was an error posting data,monster pro headphones, if not it returns the text that is returned from the url that we posted data.
We created a new TIDHttp variable at runtime and put the properties ReadTimeout to 5 seconds(timeout of the connection) and HandleRedirects to true,bose headphones, because the url where we post data can redirect us to other page from where we get the result.
a2bzyoc3 is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 09:53 PM.

 

Powered by vBulletin Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Free Advertising Forums | Free Advertising Message Boards | Post Free Ads Forum