rockinaway Posted October 6, 2007 Share Posted October 6, 2007 If I call function() in test.php and it goes to test2.php to figure out the function, is there any way that in test2.php I can find out which file called the function? Link to comment https://forums.phpfreaks.com/topic/72099-get-the-file-from-which-the-function-was-called/ Share on other sites More sharing options...
MasterACE14 Posted October 6, 2007 Share Posted October 6, 2007 I'm pretty sure you can, but I don't have any idea how sorry It's times like these where searching through php.net sounds like the best course of action. Regards ACE Link to comment https://forums.phpfreaks.com/topic/72099-get-the-file-from-which-the-function-was-called/#findComment-363403 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.