Re: Where am I?

From: Date: Fri, 23 May 2003 08:06:40 +0000
Subject: Re: Where am I?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-148732@lists.php.net to get a copy of this message
At 09:29 23.05.2003, =?Windows-1251?B?wO3y7u0=?= said: --------------------[snip]-------------------- > Is there a function which outputs string in which script is running > at this moment? --------------------[snip]-------------------- You have $_SERVER['PHP_SELF'] which will give you the name of the script that has been called by the webserver You have the predefined constants __FILE__ and __LINE__ giving you the actual file name (useful for included files) and the line number. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#148732) next »