Does anybody know of a variable that tells you the users Operating System... preferably in PHP but if it only exists in JavaScript thats fine also. I know PHP has the getbrowser() function and the $HTTP_USER_AGENT to get what browser they have so I was assuming there is something similar for Operating System (Mac or Windows).