Logo Search packages:      
Sourcecode: bbclone version File versions  Download package

os.php

<?php
# This file is part of BBClone (The PHP web counter on steroids)

# $Header: /cvs/bbclone/lib/os.php,v 1.49 2005/02/14 03:12:52 olliver Exp $

# Copyright (C) 2001-2005, the BBClone Team (see file doc/authors.txt
# distributed with this library)

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

# See doc/copying.txt for details

$os = array(
"aix%aix%AIX%0%aix",
"amiga%amiga%AmigaOS%1%Amiga[ ]?OS[ /]([0-9.]{1,10})%amiga",
"atheos%atheos%AtheOS%0%atheos",
"beos%be%BeOS%1%beos[ a-z]*([0-9.]{1,10})%beos",
"darwin%darwin%Darwin%1%Darwin[ ]?([0-9.]{1,10})%Darwin",
"digital%digital%Digital%1%OSF[0-9][ ]?V(4[0-9.]{1,10})",
"freebsd%freebsd%FreeBSD%1%free[ \-]?bsd[ /]([a-z0-9._]{1,10})%free[ \-]?bsd",
"hpux%hp%HPUX%1%hp[ \-]?ux[ /]([a-z0-9._]{1,10})",
"irix%irix%IRIX%1%irix[0-9]*[ /]([0-9.]{1,10})%irix",
"linux%linux%Linux%1%linux[ /\-]([a-z0-9._]{1,10})%linux",
"macosx%macosx%MacOS X%0%Mac[ ]?OS[ ]?X",
"macppc%macppc%MacOS PPC%0%Mac(_Power|intosh.+P)PC",
"netbsd%netbsd%NetBSD%1%net[ \-]?bsd[ /]([a-z0-9._]{1,10})%net[ \-]?bsd",
"os2%os2%OS/2 Warp%1%warp[ /]?([0-9.]{1,10})%os[ /]?2",
"openbsd%openbsd%OpenBSD%1%open[ \-]?bsd[ /]([a-z0-9._]{1,10})%open[ \-]?bsd",
"openvms%openvms%OpenVMS%1%Open[ \-]?VMS[ /]([a-z0-9._]{1,10})%Open[ \-]?VMS",
"palm%palm%PalmOS%1%Palm[ \-]?(Source|OS)[ /]?([0-9.]{1,10})%Palm[ \-]?(Source|OS)",
"photon%qnx%QNX Photon%0%photon",
"risc%risc%RiscOS%1%risc[ \-]?os[ /]?([0-9.]{1,10})%risc[ \-]?os",
"sun%sun%SunOS%1%sun[ \-]?os[ /]?([0-9.]{1,10})%sun[ \-]?os",
"symbian%symbian%Symbian OS%0%Symbian",
"tru64%tru64%Tru64%1%OSF[0-9][ ]?V(5[0-9.]{1,10})",
"unixware%sco%UnixWare%1%unixware[ /]?([0-9.]{1,10})%unixware",
"windows2003%windowsxp%Windows 2003%0%wi(n|ndows)[ \-]?(2003|nt[ /]?5\.2)",
"windows2k%windows%Windows 2000%0%wi(n|ndows)[ \-]?(2000|nt[ /]?5\.0)",
"windows95%windows%Windows 95%0%wi(n|ndows)[ \-]?95",
"windowsce%windows%Windows CE%0%wi(n|ndows)[ \-]?ce",
"windowsme%windows%Windows ME%0%win 9x 4\.90%wi(n|ndows)[ \-]?me",
"windowsxp%windowsxp%Windows XP%0%Windows XP%wi(n|ndows)[ \-]?nt[ /]?5\.1",
# generic
"bsd%bsd%BSD%0%bsd",
"mac%mac%MacOS%0%mac[^hk]",
"windowsnt%windows%Windows NT%1%wi(n|ndows)[ \-]?nt[ /]?([0-4][0-9.]{1,10})%wi(n|ndows)[ \-]?nt",
"windows98%windows%Windows 98%0%wi(n|ndows)[ \-]?98",
"windows%windows%Windows%0%wi(n|n32|ndows)",
# unknown
"other%question%other%0%.*",
);
?>

Generated by  Doxygen 1.6.0   Back to index