In chronocontact.php there are a few places that eval() the code entered by the user in the backend. Firstly, eval() seems slow way to execute code, and secondly seems to be frowned upon in a lot of places.
Would it make any difference if we used the output buffer instead?
Where $code is $rows[0]->autogenerated etc? Does this make any sense?
Would it make any difference if we used the output buffer instead?
<?php
function parseCode($code, $params=array()) {
extract($params);
ob_start();
include $code;
return ob_get_clean();
}
?>
Where $code is $rows[0]->autogenerated etc? Does this make any sense?