A page which logs the IP of the visitor and stores it to the database

Jake Bunce

XenForo moderator
Staff member
#9
XenForo_Model_Ip logs the IP of the visitor. Just call that log() function as shown in the above code example. See this file for the class code:

library/XenForo/Model/Ip.php
 
Top