Hi,
Is it possible to detect if a file is being called as an include or require?

ex:
include("file.php")    <-- file.php code can "detect" that is has been
called as an include.

Thanks,
Chris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to