Reply to Re: Info about php script being executed from within function.

Your name:

Reply:


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
--

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация