Jump to content

Logging Users I.P???


skatermike21988

Recommended Posts

I'm assuming if you need to log IP's then you are already familiar with PHP and SQL and databases, (adding and retrieving)...and that all that you require is a way to get thier IP.

$UsIP=$_SERVER['REMOTE_ADDR'];


Just insert $UsIP, (or whatever variable you name it), into the appropriate table / field.

hope that helped
Link to comment
https://forums.phpfreaks.com/topic/5402-logging-users-ip/#findComment-19253
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.