Detecting users

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Endimion
Forum Newbie
Posts: 15
Joined: Fri Feb 18, 2005 9:48 am

Detecting users

Post by Endimion »

There's any way php can identify one user whithout using ip number?
Like ip number can be variable its not possible to identify a user by its ip. And many users can even share the same ip range.

Im just trying to allow more users to register at my site without having them creating clone accounts all the time.
Currently its set to block registration if it finds any registered user from same ip range (a.b.x.x), but i think that way many users will be unable to register.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

there's not a hell of a lot that's guaranteed to block them. You can check against the email address they provide. You can verify that email address to help. You can of course check if their username is already taken.. you can use an identifying cookie, however if they clear their cookies, then you wouldn't know specifically.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

There is not much you can do to prevent multple account,

except maybe,

only allowing the use of an email address once
set a cookie after registration (can easily be deleted)
Post Reply