Showing posts with label detect. Show all posts
Showing posts with label detect. Show all posts

Tuesday, May 15, 2012

PHP script - detect whether running under linux or Windows?


I have a PHP script that may be placed on a windows system or a linux system. I need to run different commands in either case.