You need to implement a fairly simple algorithm. A GET request is made, after it the php script displays the text, so I need to programmatically get this text from the Delphi and stuff it into a variable, how to do it? Suppose the script output "successfully" (Via echo suppose) I have to get this text from the answer and stuff it into a variable.

  • Well, you got involved in your head. In delphi, things like that are bad. You will have to write an HTTP client by hand. - cy6erGn0m

2 answers 2

In the delphi with such things, everything is fine

for example, you can use TIdHTTP



where URL like is written in Edit1.Text

    Only, it is important to set the HandleRedirect value to True.

    • To get simple, get-a is optional. - Vahan Av