note 17145 added to language.constants.predefined

From: Date: Tue, 27 Nov 2001 20:25:06 +0000
Subject: note 17145 added to language.constants.predefined
Groups: php.notes 
Request: Send a blank email to php-notes+get-21347@lists.php.net to get a copy of this message
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) -- http://www.php.net/manual/en/language.constants.predefined.php http://master.php.net/manage/user-notes.php?action=edit+17145 http://master.php.net/manage/user-notes.php?action=delete+17145 http://master.php.net/manage/user-notes.php?action=reject+17145

« previous php.notes (#21347) next »