You could look at $HTTP_SERVER_VARS['SCRIPT_NAME'] in the included file, for
one.
Kirk
> Hi, is there any way to know in the included file the filename of the
> parent file?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi, is there any way to know in the included file the filename of the
parent file? for example for restricting the script execution in the
included file to certain files.
thanks,
--
Tigran Nazaryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Hi,
Is there any way to do a stack crawl/trace when an error occurs? Today, I
only get the line in the script in which the error occured, but I have to
put on my Sherlock habit in order to find the actual sequence of avents that
led up to the error
Cheers,
-Morten
3 matches
Mail list logo