SRL Archive - OSR Help

Ip Address


scuz 10

2010-06-18 22:31:15

Is it possible for scar to find your global ip address?

If so, can anyone post how it's done?

Thanks.

TRiLeZ

2010-06-18 22:42:15

You could get the html of a website that gets your ip and parse everything but your ip.

Why do you need this?

Sex

2010-06-18 22:52:23

function GetIP : string;
begin
result := GetPage('http://kylewollaston.com/ip.php');
end;
I don't know of any other way. There probably is..

scuz 10

2010-06-18 23:20:01

From: Sex
function GetIP : string;
begin
result := GetPage('http://kylewollaston.com/ip.php');
end;
I don't know of any other way. There probably is..


Is there any way so that I don't have to rely on this person's website?
How would I parse out all the info but the ip from a site like ipchicken.com?

Sex

2010-06-18 23:22:34

That is my website..
You can rely on it there is never anything wrong with it nor is there ever any traffic. The only traffic I would get is from loading that page.

Dgby714

2010-06-18 23:27:16

Same as above just diffrent site =P

function GetIP: string;
Result := GetPage('http://whatismyip.com/automation/n09230945.asp');
end;

Frement

2010-06-19 11:57:18

From: Dgby714
Same as above just diffrent site =P

function GetIP: string;
Result := GetPage('http://whatismyip.com/automation/n09230945.asp');
end;


Heh, I was just looking for that :) But yeah, I recommend to use that over any other "private" site.