function knows where call came from?
| From: | Peter Van Dijck | Date: | Wed, 28 Mar 2001 17:26:02 +0000 |
| Subject: | function knows where call came from? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45932@lists.php.net to get a copy of this message | ||
say you include a function in a page, and then you call that function.
Is there a way (without actually passing through the parameters) for that function to know which page and which line called it?
That would be VERY cool!
Peter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://liga1.com: building multiple language/culture websites