dcrudo
asked on
How to retrieve a variable from a webpage ?
Dear Experts!
I need a function, that can retrieve a value from a web page. The purpose of this is to retrieve the external IP address for a machine, querying
a web page, basically, once called, the webpage will return the ip address of the client.
Any idea on how we could do this?
Thank you in advance!
Dave.
I need a function, that can retrieve a value from a web page. The purpose of this is to retrieve the external IP address for a machine, querying
a web page, basically, once called, the webpage will return the ip address of the client.
Any idea on how we could do this?
Thank you in advance!
Dave.
Use the IdHTTP component, and its Get method. When you have the page in an AnsiString, it's easy to get the variable you need.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
works perfectly!!! Thx a lot!