Handy script for search a string of data to find information required
$user_agent = $_SERVER['HTTP_USER_AGENT']; // Client Brower
// Search string for Windows XP (Microsoft Build 5.1)if(stristr($user_agent,'NT 5.1')) {$os = "Windows XP";} else {$os = "Other Windows OS";}