[FX.php List] [OFF] Getting visitor's IP

Steve Winter steve at bluecrocodile.co.nz
Thu Aug 21 09:59:12 MDT 2008


I see 85.158.139.99 [http://85.158.139.99/] which I know is the external IP 
address of our firewall...




-----Original Message-----

From: Bob Patin <bob at patin.com>

To: "FX.php Discussion List" <fx.php_list at mail.iviking.org>

Date: Thu, 21 Aug 2008 10:38:49 -0500

Subject: Re: [FX.php List] [OFF] Getting visitor's IP




That's what I *thought* it was, but when I try it on my server here, I  

get the server's IP and not mine. I tried it from my iPhone, which  

isn't even on the same network, and it does the same thing.



Try this and tell me what you see: 
http://comparisons.advantastar.com/test.php 
[http://comparisons.advantastar.com/test.php]



I bet you see 66.253.81.205...



BP





On Aug 21, 2008, at 10:34 AM, Troy Meyers wrote:



> Bob,

>

> $_SERVER['REMOTE_ADDR'] works for me, really does give address the  

> user's request comes from...

>

> -Troy



_______________________________________________

FX.php_List mailing list

FX.php_List at mail.iviking.org

http://www.iviking.org/mailman/listinfo/fx.php_list 
[http://www.iviking.org/mailman/listinfo/fx.php_list]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20080821/51696236/attachment.html


More information about the FX.php_List mailing list