cpd Posted July 2, 2009 Share Posted July 2, 2009 Hi, im baisically looking to take note and put into a database peoples IP's so that i can check to see if they are banned. Could someone please tell me how to do this. Ive tried a few things and they do work but NOT for everyone. Some peoples IP's just wont log and some peoples do... Quote Link to comment https://forums.phpfreaks.com/topic/164565-getting-the-ip-of-a-user/ Share on other sites More sharing options...
Maq Posted July 2, 2009 Share Posted July 2, 2009 Have you tried: $_SERVER['REMOTE_ADDR'] Quote Link to comment https://forums.phpfreaks.com/topic/164565-getting-the-ip-of-a-user/#findComment-867991 Share on other sites More sharing options...
iPixel Posted July 2, 2009 Share Posted July 2, 2009 Banning IP's isnt that helpfull is it? I mean anyone can just change their IP address and pop right back in. Quote Link to comment https://forums.phpfreaks.com/topic/164565-getting-the-ip-of-a-user/#findComment-868012 Share on other sites More sharing options...
nbarone Posted July 2, 2009 Share Posted July 2, 2009 Banning IP's isnt that helpfull is it? I mean anyone can just change their IP address and pop right back in. via proxy, sure they can. Quote Link to comment https://forums.phpfreaks.com/topic/164565-getting-the-ip-of-a-user/#findComment-868018 Share on other sites More sharing options...
iPixel Posted July 2, 2009 Share Posted July 2, 2009 Banning IP's isnt that helpfull is it? I mean anyone can just change their IP address and pop right back in. via proxy, sure they can. Not even just that, simply turning off your modem and waiting a little while will give you a new IP also Quote Link to comment https://forums.phpfreaks.com/topic/164565-getting-the-ip-of-a-user/#findComment-868021 Share on other sites More sharing options...
nbarone Posted July 2, 2009 Share Posted July 2, 2009 Banning IP's isnt that helpfull is it? I mean anyone can just change their IP address and pop right back in. via proxy, sure they can. Not even just that, simply turning off your modem and waiting a little while will give you a new IP also but who wants to do that when you could be coding Quote Link to comment https://forums.phpfreaks.com/topic/164565-getting-the-ip-of-a-user/#findComment-868022 Share on other sites More sharing options...
iPixel Posted July 2, 2009 Share Posted July 2, 2009 Hahahahah well said buddy well said . Quote Link to comment https://forums.phpfreaks.com/topic/164565-getting-the-ip-of-a-user/#findComment-868025 Share on other sites More sharing options...
Maq Posted July 2, 2009 Share Posted July 2, 2009 Banning IP's isnt that helpfull is it? I mean anyone can just change their IP address and pop right back in. Regardless, it's still a good idea to keep track of IPs. Quote Link to comment https://forums.phpfreaks.com/topic/164565-getting-the-ip-of-a-user/#findComment-868026 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.