Shaun

Shaun wrote:
> Is it possible to return the result of eval function to a string rather than 
> outputting directly to the browser?

ob_start();
eval('$eval = "evil";');
$output = ob_get_clean();

Cheers,

David Grant
-- 
David Grant
http://www.grant.org.uk/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to