Re: 'nested conditional' that can identify parent page?
Posted by Alan Jones on 05/13/07 02:53
echo basename($_SERVER['SCRIPT_FILENAME']);
....returns the name of the file it is in. I need the code in an
include file to somehow determine, or derive, the name of its
'parent' file in a given instance. This procedure would be
happening within the include file as it resides in the parent file.