Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Satisfy my Curiosity

Status
Not open for further replies.

4x4uk

Technical User
Apr 30, 2002
381
GB
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!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top