joe.attaboy
New member
There are a variety of elements in the global $_SERVER array that can provide file names, paths, etc. Also the system constant __FILE__ will provide the full local path and name of the current file.
You can use them to build an if statement that tells you precisely which file you're in.
http://www.php.net/manual/en/reserved.variables.server.php
You can use them to build an if statement that tells you precisely which file you're in.
http://www.php.net/manual/en/reserved.variables.server.php