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
2 matches
Mail list logo