Re: [PHP] HELP: Detecting the name of the file a function is being called from

2004-02-09 Thread Adam Bregenzer
On Mon, 2004-02-09 at 23:17, Samuel Ventura wrote: > what I need is to detect the name of the script > from which I called the function, (test2.php) in this > case. > > For this application, it is not practical to pass an > aditional parameter to the function specifying the > caller, i need indep

[PHP] HELP: Detecting the name of the file a function is being called from

2004-02-09 Thread Samuel Ventura
Hi there I have 2 scripts: /// / I get the output test1.php what I need is to detect the name of the script from which I called the function, (test2.php) in this case. For this application, it is