The example code is as follows,
<?php
if (PHP_OS == "WIN32" || PHP_OS == "WINNT") {
define("INCLUDE_DIR","c:\\myapps");
} else {
// some other platform
define("INCLUDE_DIR", "/include");
}
?>However, rather than checking this value, I'd like to see if flat out. I tried this,
<?php
echo "PHP_OS";
?>But it didn't work. How can I see the value contained in this constant?
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
