I am currently working on an analysis script which extracts information stored in a mysql table. The information is gathered from $_SERVER['HTTP_USER_AGENT'] etc and some from javascript ie screen dimensions.
I can separate Windows 95 from Windows 98 as follows:
$sql="SELECT count(ip) as cnt FROM $dbsql WHERE browser LIKE('%Windows 98%')";
$results=mysql_query($sql);
while ($row = mysql_fetch_array($results)) {
$oswin95 = $row["cnt"]; }
I would like to be able to separate Windows NT, Windows 2000 and Windows XP, am I right in assuming these all report as Windows NT and that NT reports as version 4.0,2000 as 5.0 and XP as version 5.1? It's not a lie if you believe it!
I can separate Windows 95 from Windows 98 as follows:
$sql="SELECT count(ip) as cnt FROM $dbsql WHERE browser LIKE('%Windows 98%')";
$results=mysql_query($sql);
while ($row = mysql_fetch_array($results)) {
$oswin95 = $row["cnt"]; }
I would like to be able to separate Windows NT, Windows 2000 and Windows XP, am I right in assuming these all report as Windows NT and that NT reports as version 4.0,2000 as 5.0 and XP as version 5.1? It's not a lie if you believe it!