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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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