$ua = $_SERVER['HTTP_USER_AGENT'];
if(preg_match('#(windows|linux|macintosh|ubuntu|firefox|chrome|win)#i', $ua))
{
header('location: /pc-user');
exit;
} $ua = $_SERVER['HTTP_USER_AGENT'];
if(preg_match('#(windows|linux|macintosh|ubuntu|firefox|chrome|win)#i', $ua))
{
header('location: /pc-user');
exit;
}