I'm trying to write a (what I think is ) a simple script that, depending on the file that is loaded, this page calls a function that sees what the name of the file is, and echos a header corresponding to the name of the file.
So, for instance, there is a file called "about.php" that calls a function. This function will see that the loaded page is called "about.php" and will write the appropriate header.
What is the function to get the actual name of the file?
Thanks for your help!!