record and write user's ip? record and write user's ip?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

record and write user's ip?

Started by bit bit spears, July 28, 2004, 09:05:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bit bit spears

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

Nibbler

init.inc.php already gives you $raw_ip and $hdr_ip, it is a trivial matter to simply log them into the db.

bit bit spears

well it is to me, but can you please tell me how to tell it to write it into the user's account

Keanuette

I would like to know this also.  Thank you...:)

radianation

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.

Keanuette