<?php require_once('./includes/yourincludefile.php'); if (is_os('windows')) { echo "<br />Yes windows"; } else { echo "<br />No windows"; } ?>