How to uniquely identify a computer?
Is there any way to 'grab' some personalized ID, INFO, NAME, NUMBER, DATA, etc.?
Anything just to differentiate and recognize two or more PC on the same IP: something like the Computer name of the user besides $_SESSION
?
None of these work:
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
php_una开发者_如何学编程me('n');
php_uname();
Well, you won't be able to do this from only the HTTP request, but you do have at your disposal the following techniques:
- Remote Address
- Cookies/Session
- User Agent
- Client-side Web Technologies (e.g. Java or Flash or Silverlight object)
Basically, you can use the concepts of Evercookie to identifiy a client. That being said, why not just use a login system?
No.
(At least not without the users' explicit cooperation.)
There's plenty of information that can be used to create a browser 'fingerprint', but nothing that's guaranteed to be unique. You can find a list of the various data point at the Panopticlick site.
You can try to use OCS inventory! http://www.ocsinventory-ng.org/en/
精彩评论