Get operating system info

2013-08-06T08:54:11

I recently started wondering about sites like http://thismachine.info/ that get the user's operating system info. I have not been able to find out how to do that with PHP, and wanted to try to figure it out.

I noticed that they list the user-agent, which gives lots of info about the browser. Do they get the operating system information from that, or from something else? Is there an API I could use to get the user's operating system?

I see how they got the Browser and IP, but could not figure out the Operating System part!

Copyright License:
Author:「pattyd」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/18070154/get-operating-system-info

About “Get operating system info” questions

I recently started wondering about sites like http://thismachine.info/ that get the user's operating system info. I have not been able to find out how to do that with PHP, and wanted to try to figu...
I recently started wondering about sites like http://thismachine.info/ that get the user's operating system info. I have not been able to find out how to do that with PHP, and wanted to try to figu...
I recently started wondering about sites like http://thismachine.info/ that get the user's operating system info. I have not been able to find out how to do that with PHP, and wanted to try to figu...
I recently started wondering about sites like http://thismachine.info/ that get the user's operating system info. I have not been able to find out how to do that with PHP, and wanted to try to figu...
I need to get the operating system info to handle OS related tasks. I tried to get it via page.driver.browser but it doesn't return os info. It could be in header but there is no function header. ...
I am trying to get information from host connected to local network. Following code give operating system name like Microsoft Windows 10 Pro in my local pc. When I use a network pc name then prompt...
I am writing Java code to retrieve below info of an EC2 instance? But not sure about the right AWS API to use to get these info. instance name number of cpu number of virtual processor cores opera...
I am newbie to mfc, and I got struck over how to get the current operating system language (Ex: If it is English operating system I must get it as English and locale can be different. For English OS
Is it possible to get the operating system in maxima? I have some code that needs the unix / or windows \ for path names. How can I find out which operating system the code is running in? To give ...
Hey i overworked the code from Get operating system info (EDIT the original code was from https://github.com/Jacckii/-PHP-Simple-IP-Logger), but im getting two Errors: Warning: preg_match(): Unknown

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.