forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: bit bit spears on July 28, 2004, 09:05:22 pm
-
hey everyone
does anyone know how to record and write the users ip address when the register-and when they use the gallery?
because i want to make sure people don't share their accounts with other people
-
init.inc.php already gives you $raw_ip and $hdr_ip, it is a trivial matter to simply log them into the db.
-
well it is to me, but can you please tell me how to tell it to write it into the user's account
-
I would like to know this also. Thank you...:)
-
I was able to do this in the login.php file. I searched for the string that updated the users last visit date and copied it, changing the variables for $raw_ip and used a field that I manually added the to user table.
-
In English please...