Re: Maths Problem
| From: | Phil Driscoll | Date: | Wed, 17 Apr 2002 15:31:15 +0000 |
| Subject: | Re: Maths Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93338@lists.php.net to get a copy of this message | ||
On Wednesday 17 April 2002 3:01 pm, mike cullerton wrote:
> if the form is using a text field for the user to type in the
> formula, you'll need to check the data you receive to make sure it's
> valid. after that, you might be able to use 'eval'.
>
> http://www.php.net/manual/en/function.eval.php
...but you'll be opening up a massive potential security hole.
--
Phil Driscoll