Can an included file 'know' where it's been included?
View Single Post
03-13-2008, 08:55 PM
La Vida es Sueño
Join Date: Sep 2007
So just to clarify, what you're asking of is to interrupt the call to the function
, and to essentially call another function prior to calling
-- and then passing that sanitised data to
, but that merely gets the root file that's being accessed, it's not the magical item you're looking for that knows the included file's parent.
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
View Public Profile
Send a private message to Wildhoney
Visit Wildhoney's homepage!
Find More Posts by Wildhoney