What language is __CALLING_FILE__ from...? And what is it that you are trying to do?
__CALLING_FILE__ is not a PHP code.. I put that for example... I am searching for similar functionality... a Pre-Defined of PHP that gives the parent or the calling php file...in order to determine who was called the pagebase.php.. and use it into conditional statement for different processes..
[PHP]<?php
//pagebase.php
switch ( __CALLING_FILE__ ) {
case "index.php":
//codes here if index.php is the calling php file.
break;
case "page1.php":
//codes here if page1.php is the calling php file.
break;
case.............
//codes here if ????.php is the calling php file.
break;..........
}
?>[/PHP]