Windows or Not?
From Bebot Wiki 2
Jump to navigationJump to searchSnippet: Windows or Not Windows?
/*
Figure out if code is running on a Windows machine.
- /
if (strtoupper(substr(php_uname("s"), 0, 3)) === 'WIN')
$windows = TRUE;
else
$windows = FALSE;