Re: using disable_functions silently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx> 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
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux