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:[EMAIL PROTECTED]]
> Subject: [PHP] Re: How to convert a string into a mathematical
> expression?
> 
> Take a look at the eval() function.
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to