trq Posted April 29, 2007 Share Posted April 29, 2007 What exactly do you plan on doing with this information anyways? In case you haven't noticed, ip's are NOT a very reliable way of recognizing a client. Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-240836 Share on other sites More sharing options...
gsquare567 Posted April 29, 2007 Author Share Posted April 29, 2007 thats true, maybe i shud use the host by address. would that be unique most of the time with less than say 100 users? Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-240838 Share on other sites More sharing options...
trq Posted April 29, 2007 Share Posted April 29, 2007 would that be unique most of the time with less than say 100 users? No. If 20 of your users are all at the same university or even connect through the same isp, you wont be able to tell them apart. Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-240842 Share on other sites More sharing options...
kenrbnsn Posted April 29, 2007 Share Posted April 29, 2007 Maybe, maybe not. If you're site gets hit by AOL users, their IP (& host names) change almost every time because of the way AOL works. Ken Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-240843 Share on other sites More sharing options...
gsquare567 Posted April 29, 2007 Author Share Posted April 29, 2007 psh, who uses aol! Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-240846 Share on other sites More sharing options...
AndyB Posted April 29, 2007 Share Posted April 29, 2007 psh, who uses aol! More than you think, less than there were. The company formerly known as America Online, once a goliath among Internet service providers (ISPs), boasting 30 million subscribers, has seen its customer base shrink to less than 19 million since merging with Time Warner in 2001. Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-240851 Share on other sites More sharing options...
gsquare567 Posted April 29, 2007 Author Share Posted April 29, 2007 haha i didnt expect you to research it. u truly are dedicated here. we need a rep system. Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-240853 Share on other sites More sharing options...
gsquare567 Posted April 29, 2007 Author Share Posted April 29, 2007 what if i just took the end of @gethostbyaddr($_SERVER["REMOTE_ADDR"]); eg .cpe.net.cable.rogers.com Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-240871 Share on other sites More sharing options...
trq Posted April 29, 2007 Share Posted April 29, 2007 What do you want? Ips / hosts are NOT unique. Simple. Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-240879 Share on other sites More sharing options...
per1os Posted April 29, 2007 Share Posted April 29, 2007 The point here is that IPs do not allow for banning. It works sometimes but most of the time it does not. Say I do get banned from your site, whats to stop me from using my proxy and getting a whole new IP address. Or if on Dialup, just re-dialing and getting a new hostname/ip. One method, which you have to assume the user is stupid and does not clear cache, is set a cookie that lasts indefinitely on the users machine that shows they are banned. This will work as long as they do not clear cache. Other than that you are facing the same problem everyone has. It is nearly impossible to ban anyone without a user account. If they have a user account, what prevents them from re-registering etc. Have fun trying to figure that one out. Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-241079 Share on other sites More sharing options...
gsquare567 Posted May 1, 2007 Author Share Posted May 1, 2007 hmm i kinda mislead u guys, but this is a different auth system. only i can register people. i just want to make sure they arent sharing passwords. Quote Link to comment https://forums.phpfreaks.com/topic/49105-local-ip-or-whatever-ip-is-unique-to-every-computer-iunno/page/2/#findComment-242587 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.