$_SERVER['REMOTE_ADDR'] Check more info here:
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.serve r You cannot (implicitly) trust it though... IP address is NOT always = THE user - E "Bret L Conard" <[EMAIL PROTECTED]> wrote: > Hi all, > I've been away for a while but I'm back and have a question about IP addresses. > How do I retrieve / capture a users IP? I need to have it to process electronic payments. > > Thanks. > Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php