I am dealing with Windows here.
I know you can use the $_SERVER[\'HTTP_USER_AGENT\'] variable to detect the OS of the browser viewing the page, but is t
$_SERVER[\'HTTP_USER_AGENT\']
A bit of a late answer, but if you just want to determine the word size, you can use this: (log(PHP_INT_MAX + 1, 2) + 1)
(log(PHP_INT_MAX + 1, 2) + 1)