note 48665 deleted from function.eval by felipe
| From: | felipe@php.net | Date: | Thu, 03 Jan 2008 02:04:06 +0000 |
| Subject: | note 48665 deleted from function.eval by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134693@lists.php.net to get a copy of this message | ||
Note Submitter: jasperbg at gmail dot com
----
There's a much easier way to dynamically load PHP pages:
eval('?>' . $the_page . '<?php ');
where $the_page is a standard PHP page with <?php ... ?> tags around the portions to be
parsed.