Hi there..
I have a function, which is required by 2 other pages. This function resides on another page. looks like this:
page1.php -> requires page3.php
page2.php -> requires page3.php
once the function in page3.php has run, it needs to call a function in either page1.php or page2.php depending on which page called the function. The trouble is, how do i know which page called it?
I heard, or once saw something called php_self ? Is this what i need?, i really want to do this the smart way, not by sending the function a variable, telling it which page called it.
Cheers.