web service for getting current IP address

E

edmccann

Hello,

Does anyone know if there's a free webservice (SOAP, XML-RPC, etc) that
will return the client's current IP address? I'm building a Google
Maps mashup and hosting it at a dynamic IP address, so I want to be
able to update the license key automatically.

I found a service called IP2Location.com, but it only allows 200 trial
requests. I don't need a location for an IP, I need MY current IP when
I send a request.

Thanks,
Ed
 
P

Paul Tomblin

In a previous article, (e-mail address removed) said:
Does anyone know if there's a free webservice (SOAP, XML-RPC, etc) that
will return the client's current IP address? I'm building a Google
Maps mashup and hosting it at a dynamic IP address, so I want to be
able to update the license key automatically.

I wrote a very short CGI that does that. It's at
http://xcski.net/cgi-bin/you_are.cgi
Please don't slam the hell out of it or I'll have to move it. If you have
a host somewhere where you can put a CGI, the source code looks like:
#!/bin/sh

echo "Content-Type: text/plain"
echo
echo $REMOTE_ADDR
exit 0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top