This topic is locked

Get ip address from logged user

6/1/2008 10:53:50 PM
PHPRunner General questions
B
bochaka author

Hi

How do I get the ip address of any logged in user and send it to a field called visitorip in my users table, I see part of this topic o n the forum but not the full thing.

J
Jane 6/2/2008

Hi,
IP of logged user is stored in the $_SERVER['REMOTE_ADDR'] variable.

Save it in any event on the Events tab.