Re: using disable_functions silently
| From: | Craige Leeder | Date: | Thu, 23 Aug 2007 18:44:03 +0000 |
| Subject: | Re: using disable_functions silently | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261182@lists.php.net to get a copy of this message | ||
You can't overwrite PHP's built-in functions, nor any function that
has been defined for that matter.
- Craige
On 8/23/07, Samuel Vogel <samy-delux@gmx.de> wrote:
> That'd be at least some kind of a solution.
> I'm thinking of overwriting the functions I want to block with one, that
> just returns true and does nothing.
> How would I do that?
>
> Jay Blanchard schrieb:
> [snip]
> Unfortunately we would need a solution without changing the PHP code of
> our users.
> No way to do that?
> [/snip]
>
> Not really. You could auto-prepend all of the PHP files with the
> necessary PHP files, but that may not be a really good solution.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>