Include the file /tools/web_page_name.php at the beginning of each file, then echo out the results where needed.

this is what the file contains:

$currentFile = $_SERVER["PHP_SELF"];
$parts = Explode('/', $currentFile);
$PageName = $parts[count($parts) - 1];
// uncomment the next line for testing
echo $PageName;

So, if you don't want to test it, just copy the 3 lines.

This is what it prints for this page: web_page_name_instructions.php