Some possible values for PHP predefined constant PHP_OS: CYGWIN_NT-5.1 Darwin FreeBSD HP-UX IRIX64 Linux NetBSD OpenBSD SunOS Unix WIN32 WINNT Windows
Thanks!!