CTED]>, <[EMAIL PROTECTED]>
>Subject: Re: [PHP] Example safe use of eval()
>Date: Thu, Aug 1, 2002, 5:35 PM
>
> You can't really do much to make sure the execution of eval is safe, it's
> more than you have to trust the string that you're about to eval().
>
> So
You can't really do much to make sure the execution of eval is safe, it's
more than you have to trust the string that you're about to eval().
So, as long as you and your production team were the only ones who put the
code into the strings or tables, and tested the code before hand, then 90%
there
I am trying to get code that I have saved as a string in a database to
evaluate as code within a larger script with a loop. There are obvious
security concerns with allowing users to input code into the field if it is
not preprocessed before it is evaluated. The eval function appears to be the
t
3 matches
Mail list logo