note 41863 rejected from function.include by betz
| From: | betz@php.net | Date: | Sat, 24 Apr 2004 06:49:58 +0000 |
| Subject: | note 41863 rejected from function.include by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-68711@lists.php.net to get a copy of this message | ||
Note Submitter: Hajuu@Deviisoncore.com
----
This code is a way of including a file into the current page and getting PHP to proccess any PHP in
the included file.
<?php
echo "<div>";
$URL = file_get_contents($final);
$ev = eval("?>" . $URL . "<?php ");
echo $ev;
echo "</div>";
?>