
Most websites use these User-agent information to determine the visitors operating system, browser and various information. To make sure its set, you can retrieve the value using iniget and see if its set. This might be something () is using if not something already pointed in other answers. To see what youre sending to a web server, create a new PHP file and print out everything from the array. User-Agent: Mozilla5.0 (Macintosh Intel Mac OS X 1084) AppleWebKit537.36. If you visit this answer on SO a154978781415724 you will notice how they echo Windows XP from the array windows nt 5.1i Windows XP. To my knowledge, there is nothing that will determine the exact operating system, as I see this would fall under the securities domain.


