|
Posted by Alvaro G Vicario on 08/25/05 16:06
*** Sandman wrote/escribió (Thu, 25 Aug 2005 14:01:05 +0200):
> The constant __FILE__ points to the file in which gauge was *defined* (i.e.
> init.php) and superglobals like $_SERVER["PATH_TRANSLATED"] point to index.php
>
> Anyone knows how to find out what file called on a function?
From the constant __FUNCTION__, I presume:
http://es2.php.net/manual/en/language.constants.predefined.php
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Navigation:
[Reply to this message]
|