- Code: Select all
<html><body>
<?php echo "testing echo output" ?> //this works and shows up in the browser
<?php
$currdir = dirname($SERVER['PHP_SELF']);
echo $currdir; //this does not work.
?>
</body></html>
So, who can tell the noob why he is failing?
