Posted by Jerry Stuckle on 10/11/06 11:58
Bit Byte wrote:
>
>
> Benjamin wrote:
>
>> call_user_func only works if you have the function declared in the
>> script (not a string). eval is really your only option
>
>
> Thanks Ben, do you know if eval can be 'disabled' by a PHP setting (i.e.
> in the PHP config file) by a hosting provider (maybe to prevent people
> from dynamically running scripts) ?
>
> I wnat to make sure that if I go to the trouble of writng this, it will
> work (i.e. not be "snuffed out") by an over zealous ys admin at my
> hosting provider.
>
Any function *can* be disabled. Some are disabled for good reason (i.e.
security). But if your host has disabled eval() and won't enable it,
get another host. There are too many around to worry about one.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|