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

Troy Meyers tcmeyers at troymeyers.com
Thu Aug 21 09:34:51 MDT 2008


Bob,

$_SERVER['REMOTE_ADDR'] works for me, really does give address the user's request comes from...

-Troy


> I'm trying to retrieve the user IP, but keep getting back my web  
> server's IP.
> 
> I thought that this
> 
> echo $_SERVER['REMOTE_ADDR']
> 
> would do it...
> 
> Could someone steer me to the right command? I used to know it, but  
> it's lost in my grey matter.
> 
> Thanks,
> 
> Bob Patin
> 
> Longterm Solutions
> 
> bob at longtermsolutions.com
> 
> 615-333-6858
> 
> http://www.longtermsolutions.com
> 
> iChat: bobpatin
> 
> AIM: longterm1954
> 
> FileMaker 9 Certified Developer
> 
> Member of FileMaker Business Alliance and FileMaker TechNet
> --------------------------
> 
> FileMaker hosting and consulting for all versions of FileMaker PHP 
> 
> Full email services 
> 
> Free DNS hosting 
> 
> Colocation 
> 
> Consulting
> 
> _______________________________________________
> 
> FX.php_List mailing list
> 
> FX.php_List at mail.iviking.org
> 
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list