Answered
echo filename of ssi files
I have a PHP that has within it a series of server side include PHP files.
In each of these files I would like to echo the filename (less .php).
I have tried using:
<?php echo basename($_SERVER['PHP_SELF']) ; ?>
But this only displays the name of the file ENCLOSING all of the Server Side include files.
Is there another simple script I can use?
Thanks
