RE: [PHP] Re: How to convert a string into a mathematical expression?
| From: | scott [gts] | Date: | Fri, 13 Jul 2001 17:34:01 +0000 |
| Subject: | RE: [PHP] Re: How to convert a string into a mathematical expression? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57766@lists.php.net to get a copy of this message | ||
be *extremely* careful. eval() is like spawning another PHP
interpreter... it'll execute *any* code that you give it.
people could type in unlink(); and such commands and really
trash your webserver.
> -----Original Message-----
> From: Philip Hallstrom [mailto:philip@adhesivemedia.com]
> Subject: [PHP] Re: How to convert a string into a mathematical
> expression?
>
> Take a look at the eval() function.
>