I believe a Perl script could very easily go to a website, fetch the IP displayed and put it in a txt file. If Perl's not your thing, you could do it in just about any other language. PHP might not be the best however and I don't know batch, but I'm sure C/C++ could do it. Perl is very clever with regexes though, that might help you.

hackington wrote:Hey guys, so I am looking to get the 'real' IP address so that I can remotely log into my computer

You're all focusing on getting the IP too much.

Are you needing to access your computer from another computer owned by you? If this is the case and you might find that a remote viewing client program like TeamViewer would work. You never have to tell it anything about IP.

Although it really depends what exactly you are wanting to be able to do with your remote connection to your computer.So what are you wanting to be able to do?

You could also find out your current home networks global IP always by just using something like Dynamic DNS. It just automatically updates itself to provide you with either accessing by IP or by a chosen domain name.

I'm sorry for ressurecting this thread, but I think it might be possible to access your php script (depending on where it is hosted) via telnet using port 80 (as if you were accessing a web page.)This will get you the raw data from the page, but I guess maybe you could just do a search for the ip address (perhaps put a sequence of characters before and after? Such as AAAxxx.xxx.xxx.xxxBBB where the x's are numbers. Then you search for AAA and read until you get to BBB)I don't know if the searching is easily done in batch.And, to pass the info you read to the .txt, you can use the echo >> command (or smth like that)