In some systems, users can enter their own PHP scripts, and then do the PHP scripts just entered in this page, how did you do it?
Method 1: Depart the script that you just entered, deposited in xxx.php, then in this page request_once this xxx.php, I think this is not the final method
Method 2: I don't know, I feel that there is a way two
-------------------------------------------------- -------------
evAl ()
-------------------------------------------------- -------------
PHP
$ text = "echo 'aaaa'";
EVAL ("$ text;");
?>
or
PHP
$ text = " PHP Echo 'AAAA';?>"
EVAL ("?> $ text");
?>