Hi,
I am making A "Test-It" php tester, where a code is provided in a textarea and the user can edit the code as they like and then a new, simple php page opens, like this:
I will also have to use the "eregi" function to see if they are trying to change my site from the inside, e.g. make chmod 777 and add stupid text to the index file or even delete something, or find out my Database info by typing "echo $dbhost;" or somthing. Is there a way?PHP Code:<?php
//this is the page that executes whatever the user writes
$code=$_POST['code']
some_function_to_execute_code($code);
?>
<br>This is just a test document
