Yes, that would be really cool. I my self has tried to find a way to do
this, and throw this question to the list sometimes ago... no repond.
What would be great, if we can do this, is that we can somehow create a
pseudo-private method for classes (since php OO does not have that), and
limit only a certain file/page can call that pseudo-private method, by
checking which page call that method.
Please let me know if you find any further information on this. Thanks in
advance
Reuben D. Budiardja
At 06:26 PM 3/28/01 +0100, Peter Van Dijck wrote:
>say you include a function in a page, and then you call that function.
>Is there a way (without actually passing through the parameters) for that
>function to know which page and which line called it?
>That would be VERY cool!
>Peter
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>http://liga1.com: building multiple language/culture websites
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
Reuben D. Budiardja
Web Database Application Programmer / Analyst
Devcorps, ITS
Goshen College, IN 46526
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]