Re: [PHP] Evaluating php code.

2002-04-03 Thread Rasmus Lerdorf
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

Re: [PHP] Evaluating php code.

2002-04-03 Thread Scott Houseman
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

Re: [PHP] Evaluating php code.

2002-04-03 Thread Rasmus Lerdorf
[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

[PHP] Evaluating php code.

2002-04-02 Thread Scott Houseman
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