Say I want some PHP code executed on all pages in a certain directory.
If I add a PHP include() to the top of all pages with mod_layout, and have this in the included file test.php:
<?php echo $_SERVER['PHP_SELF']; ?>On the page test.html (and all other pages, just an example) I get this printed:
I want this printed:
Thanks for any help!