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