Page 1 of 1
get ip address with cookie
Posted: Thu Sep 02, 2004 7:03 am
by duk
heyas
i have un user, that is massiving creating regists im my website.. he uses a proxy... so i cant get the real ip adress..
can i use a cookie to get the real ip adress ???
i is possible give some code examples plz
regards
Posted: Thu Sep 02, 2004 7:12 am
by CoderGoblin
Dont know the answer to your question so an alternative...
As part of the registration process have them enter a valid Email address. The email address is used to send them the password with which they log in for the first time. They can then change their password. Don't allow duplicate email addresses in the system but retain a log of them.
Ok some people will have multiple email accounts but then people could have multiple computers as well.
Only real downside which I know of is that people have to read their email to get into the system.
Combining this functionality with storing Ip addresses would mean less multis.
Posted: Thu Sep 02, 2004 7:22 am
by duk
im already working in activation manualy by using valid email adresses...
but im was thinking about that way the cookie geting the ip adress... tanks anyway
Posted: Thu Sep 02, 2004 1:07 pm
by ol4pr0
if that guy is on a proxy forget about looking for a ip. and do it the way CoderGoblin suggested.