FILE should do what you need 🙂
not in quotes if you are echoing it
example in a function call:
function printFile() {
echo FILE;
}
or
printFile(FILE);
function printFile($file) {
echo $file;
}
Note though: FILE will have the current file (so if you include a file called "myinclude.php" into your "index.php" (or something like that), FILE in myinclude.php will be myinclude.php, and FILE in index.php would be index.php.
Also, there is an LINE 🙂
Hope this helps,
-Josh B