Betriebssystem
Dieses Script zeigt an, welches Betriebssystem der aktuelle
Besucher hat
|
Script: |
<?php
if (strstr($HTTP_USER_AGENT,
"Windows 95"))
echo "Win95";
else if (strstr($HTTP_USER_AGENT,
"Windows 98"))
echo "Win98";
else if (strstr($HTTP_USER_AGENT,
"NT 4.0"))
echo "NT";
else if (strstr($HTTP_USER_AGENT,
"NT 5.0"))
echo "Win2k";
else if (strstr($HTTP_USER_AGENT,
"NT 5.1"))
echo "WinXP";
else if (strstr($HTTP_USER_AGENT,
"Win"))
echo "Win";
else if (strstr($HTTP_USER_AGENT,
"Mac"))
echo "Mac";
else if (strstr($HTTP_USER_AGENT,
"Linux"))
echo "Linux";
else if (strstr($HTTP_USER_AGENT,
"Unix"))
echo "Unix";
else
echo "Other";
?>
|
|