Originally posted as a Categorized Answer.
In reply to Re: How do I determine the name of the calling script? by redmist in thread How do I determine the name of the calling script? by Anonymous Monk