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

Posted by Benjamin on 10/11/06 01:41

call_user_func only works if you have the function declared in the
script (not a string). eval is really your only option
Bit Byte wrote:
> Anyone know of the pros and cons of these two?
>
> I am writing a simplified 'clone' of crontab, to help me run scheduled
> tasks - the tasks (scipts) vbeing stored in a database table - I'm not
> sure which of these to use, any ideas ? Is one better than the other ?

 

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

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