Lars B. Jensen wrote:
Is there any way, I from one function can identify which other function called it, without parameter passing the name manually ?

Please don't post twice in an hour if you haven't yet received your answer. With that in mind, I have an answer for you. :-)


Use debug_backtrace():
http://www.php.net/debug-backtrace

Harry Fuecks has an excellent post on how to use debug_backtrace() here:
http://www.sitepoint.com/blog-post-view.php?id=157007

--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to