Re: Overwriting (internal) functions
| From: | Andrei Zmievski | Date: | Fri, 25 Aug 2000 13:22:55 +0000 |
| Subject: | Re: Overwriting (internal) functions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30637@lists.php.net to get a copy of this message | ||
On Fri, 25 Aug 2000, Wico de Leeuw wrote:
> Hiya
>
> Is there a way (or is it easy to make/programm) to overwrite (internal)
> functions and calling the original function afterwards
>
> like:
>
> function Die ($messy = "") {
> // do somthing
> old_die($messy)
> }
>
> or
>
> function Echo ($messy) {
> // put into socket and not on display (or both)
> }
>
> And ofcourse user diefiend functions
No, there isn't. And probably won't be, because this would open up a
whole bag of security vulnerabilities.
-Andrei
Give a man a fish; you have fed him for today. Teach a man to use
the Net and he won't bother you for weeks.
-Author unknown