phpQuestioner Posted June 28, 2007 Share Posted June 28, 2007 Does anyone know how detect a computer's IP Address and not the browser's IP Address? I want to be able to find the real IP Address of a computer and not just the IP Address the browser provided. Anyone know how I can do this? Quote Link to comment Share on other sites More sharing options...
redarrow Posted June 28, 2007 Share Posted June 28, 2007 what the hell for? if you done this your get the ip range they set that no good for anyone. Quote Link to comment Share on other sites More sharing options...
teng84 Posted June 28, 2007 Share Posted June 28, 2007 $_SERVER['REMOTE_ADDR']; that will get ip Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted June 28, 2007 Author Share Posted June 28, 2007 the reason redarrow, is because you can block them from accessing pages you did not want them to view, otherwise all they have to do is switch browsers. i know i can be done, because I have seen it done before; that is what the hell for. teng84 - that just gets the browser's IP Address; I know how to do that, but thanks Quote Link to comment Share on other sites More sharing options...
redarrow Posted June 28, 2007 Share Posted June 28, 2007 php can not on it own get the user's computer information and in essance most user's use a router and a firewall so the chance to get the user's nic address is slim hope you no that. ok how it done in the world of hacking well your need to understand the msdos prompt and send a request via the exec() php function and then get that information and post it in the database. but like i say it a slim chance to get the nic card name or users set ip address. it can be done but not somethink worth getting into ok. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted June 28, 2007 Share Posted June 28, 2007 if your thinking of stopping people spamming the try a captcha or something. Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted June 28, 2007 Author Share Posted June 28, 2007 The thing is that I know someone got the IP Address of my router this way and now I am trying to figure out how to cloak my router's static IP Address; without having to buy software. Even if I get software; I do not know if it would effectively hide or cloak my router's static IP Address. PS: I also want to know how they did it. Quote Link to comment Share on other sites More sharing options...
redarrow Posted June 28, 2007 Share Posted June 28, 2007 dosent matter who got your static ip address as you set the ip address via your router, the router will asign services and ports to services that you the router owner owns. know if someone hacks your router then there add services to point to dynamic domains but to prevent this you set the username and password to a very good strict assignment. use letters and numbers ok. within the router your get a log file you can get php to do a cron to print the logout nightly. Quote Link to comment 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.