lilmer Posted August 14, 2013 Share Posted August 14, 2013 Using PHP, how do I get some unique information to a computer that is visiting my website. Something like private I.P. but you need a tools to get that and PHP doesn't have that. . I'd try to use $_SERVER["REMOTE_ADDR"] but it get a network I.P. Quote Link to comment Share on other sites More sharing options...
mushroominternet Posted August 14, 2013 Share Posted August 14, 2013 I don't think you can get anything that is unique to the computer visiting via PHP. You could drop a cookie on their machine when they visit so you can track them. All you get in $_SERVER is whatever is voluntarily included in the HTTP request so a system based on that would not be more fallible than going down the cookie route. What's the system you are trying to create? Quote Link to comment Share on other sites More sharing options...
kicken Posted August 14, 2013 Share Posted August 14, 2013 Storing a cookie with a unique ID inside of it is the only thing you can do to try and uniquely identify a computer. There are no other identifying marks which can be tied to a specific computer. Even a cookie is not perfect, but it's the best possibility. Quote Link to comment Share on other sites More sharing options...
lilmer Posted August 23, 2013 Author Share Posted August 23, 2013 Well, thank you for that. 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.