Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML

Status
Not open for further replies.

Regany

Programmer
Aug 27, 2004
72
LV
Is there posibility to get HTML code without using TWebBrowser, if yes, then how?
 
Yep.
Use the Indy components.

Code:
Memo1.Lines.Add(IdHTTP1.Get('[URL unfurl="true"]http://www.tek-tips.com'));[/URL]

//Nordlund
 
Ok, some where it works, but where i need it he says me This kind of error: HTTP/1.1 503 Service Temporarily Unavailable, how to deal with that?
 
maybe the HTML is generated ???

[bobafett] BobbaFet [bobafett]

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
Great Delphi Websites faq102-5352
 
HTTP code 503 means there is a problem at the server of the url you spcified. Try another url. Make sure you put proxy details in TIdHttp.proxyParams if you need to.

 
i think he maybe was trying to access a page that has to be generated by the server, like with PHP Nuke

[bobafett] BobbaFet [bobafett]

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
Great Delphi Websites faq102-5352
 
And what to do if so?

P.S. huge thanks to all who answered! :)
 
well it means its trying to access a page that doesnt exsist yet

[bobafett] BobbaFet [bobafett]

Everyone has a right to my opinion.
E-mail me at caswegkamp@hotmail.com
Great Delphi Websites faq102-5352
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top