how to find the caller of the script

view full story

http://www.linuxforums.org – i want away to know which file called the script i have a bash shell script , a php file calls this script . i need to make sure the the file is always called from this php and no other way please advice. (HowTos)