Ideally, i'd like to evaluate the code the user has submitted, and if an
error is generated, notify the user of that fact.
Eval always returns false, and I'd like no runtime error to be generated.
Perhaps an error-handler is what's needed?
What can you suggest?
I think this should
the code.'?
Thanks again for the help, it is much appreciated
Regards
Scott
- Original Message -
From: Rasmus Lerdorf [EMAIL PROTECTED]
To: Scott Houseman [EMAIL PROTECTED]
Cc: php-general [EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 10:33 AM
Subject: Re: [PHP] Evaluating php code
[EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 10:33 AM
Subject: Re: [PHP] Evaluating php code.
Ideally, i'd like to evaluate the code the user has submitted, and if an
error is generated, notify the user of that fact.
Eval always returns false, and I'd like no runtime error
Dear all.
We are currently busy developing an online press application, which makes
use of templates renderers.
The system works as follows template-renderer-renderer parameters.
The renderer does business logic, making variables available for the
template, which simply renderers the variables
4 matches
Mail list logo