You are here: Re: eval() or call_user_func() ??? « PHP Programming Language « IT news, forums, messages
Re: eval() or call_user_func() ???

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
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация