<?php include('classes.php'); $pe = new PHP_Executor; $cache = new cache; $code = $_GET['phpcode']; } include('template.php'); ?>
Jak w textarea poda się takie coś:
Kod
echo 'test';
to działa, ale jak takie coś:Kod
<?php
echo 'test';
?>
to print_r daje pole puste (Array ( [phpcode] => {TU NICZEGO NIE MA!} [send] => 1 ) ). Czyli kod się usuwa. Co zrobić, aby kod zostawał?
echo 'test';
?>