Within a parent file, the value of __file__ is the entire actual path of
the file, whereas within an included file it is just the file name. This
can have an entirely different path than the SCRIPT_FILENAME constant on
servers configured with simlinks. (tested on PHP 4.04)