Re: determining client's external IP
| From: | Miles Thompson | Date: | Mon, 13 Mar 2006 19:36:13 +0000 |
| Subject: | Re: determining client's external IP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231868@lists.php.net to get a copy of this message | ||
At 02:39 PM 3/13/2006, tedd wrote:
Jochem wrote:Tedd, Try this link.life is not that simple.... here are some functions I wrote as an attempt to to better than 'REMOTE_ADDR' - interested if these allow you to retrieve the same IP as whatismyip.com:-snip- A most impressive piece of code -- thank you, it works great! While you appear to get down to the person's IP, where would one get the assorted associated details, such as the IP location text, Reverse IP (if any) and Reverse DNS? For example, such as that provided by: http://whois.sc Do these people have access to dB's that civilians don't? tedd -- -------------------------------------------------------------------------------- http://sperling.com
http://www.ip2location.com/articles/article2.htmip2location.com also have a free database of IP's. Google turns up others, they are all roughly similar. HTH - Miles -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: 3/10/2006