Is it possible to find the name of the file that the include is being called from?
Ex.:
I call omg.php, omg.php wants to include the name of the file that it is being used inside.
$_SERVER['PHP_SELF'] will always give you the name of the calling script.
Sweet...thank you very much 🙂