note 88820 modified in function.eval by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 19:50:47 +0000 |
| Subject: | note 88820 modified in function.eval by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155277@lists.php.net to get a copy of this message | ||
you can actually run strings with html and php code. To do that you need to append ?> and <?
simbols like this:
<?php eval("?>" . $code . "<?"); ?>
--was--
you can actually run strings with html and php code. To do that you need to append ?> and <?
simbols like this:
eval("?>" . $code . "<?");
http://php.net/manual/en/function.eval.php