Is it possible to know what platform is the system running on thru php? For example is it a Win32 or Unix.
$_ENV["OS"] is what you're looking for. Consult phpinfo() for more information.