Posted by David Grant on 12/07/05 18:02
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/
Navigation:
[Reply to this message]
|