2009-09-07 11:07:59 +00:00
|
|
|
<?php
|
2007-04-03 14:10:23 +00:00
|
|
|
|
2010-07-17 15:54:47 +00:00
|
|
|
echo("Microsoft Windows");
|
|
|
|
|
|
2008-11-26 17:58:47 +00:00
|
|
|
if(strstr($sysDescr, "x86")) { $hardware = "Generic x86"; }
|
2009-11-07 02:30:38 +00:00
|
|
|
if(strstr($sysDescr, "AMD64")) { $hardware = "Generic x64"; }
|
2010-07-17 17:26:47 +00:00
|
|
|
if(strstr($sysDescr, "Intel64")) { $hardware = "Generic x64"; }
|
2010-07-17 15:54:47 +00:00
|
|
|
|
|
|
|
|
if(strstr($sysDescr, "Build Number: 1381")) { $version = "NT 4.0"; }
|
|
|
|
|
if(strstr($sysDescr, "Build 2195")) { $version = "2000 (NT 5.0)"; }
|
|
|
|
|
if(strstr($sysDescr, "Build 2600")) { $version = "XP (NT 5.1)"; }
|
|
|
|
|
if(strstr($sysDescr, "Build 3790")) { $version = "XP / 2003 (NT 5.2)"; }
|
|
|
|
|
if(strstr($sysDescr, "Build 6000")) { $version = "Vista (NT 6.0)"; }
|
|
|
|
|
if(strstr($sysDescr, "Build 6001")) { $version = "Vista SP1 / 2008 (NT 6.0)"; }
|
2010-07-17 23:44:20 +00:00
|
|
|
if(strstr($sysDescr, "Build 6002")) { $version = "Vista SP2 / 2008 SP2 (NT 6.0)"; }
|
2010-07-17 17:26:47 +00:00
|
|
|
if(strstr($sysDescr, "Build 7600")) { $version = "7 / 2008 R2 (NT 6.1)"; }
|
2010-07-17 15:54:47 +00:00
|
|
|
|
2008-11-26 17:58:47 +00:00
|
|
|
if(strstr($sysDescr, "Uniprocessor Free")) { $features = "Uniprocessor"; }
|
|
|
|
|
if(strstr($sysDescr, "Multiprocessor Free")) { $features = "Multiprocessor"; }
|
2007-04-03 14:10:23 +00:00
|
|
|
|
2010-07-17 15:54:47 +00:00
|
|
|
### Detect processor type? : I.E. x86 Family 15 Model 2 Stepping 7
|
|
|
|
|
|
2009-11-09 15:52:04 +00:00
|
|
|
include("ucd-mib.inc.php");
|
|
|
|
|
include("hr-mib.inc.php");
|
2007-04-03 14:10:23 +00:00
|
|
|
|
|
|
|
|
?>
|