This topic is locked

Capture ip address of logins

3/10/2007 22:52:11
PHPRunner General questions
jimhnet author

I want to be able to capture the ip address on login of someone accessing data.
Suggestions?
Thanks
Jim

kujox 3/11/2007

Jim
Try this in the after successful login event
$values['ip_address'] = $_SERVER['REMOTE_ADDR'];