note 28712 added to function.eval
| From: | phpnet at pascoe dot co dot za | Date: | Wed, 22 Jan 2003 05:46:59 +0000 |
| Subject: | note 28712 added to function.eval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42553@lists.php.net to get a copy of this message | ||
If you are trying to use eval on entire files or huge strings you are going to spend hours upon
hours trying to get it to work. Debugging any included files is also very hard.
Make your life a little simpler by looking at one of the better templating systems on the net. (my
favorite is Smarty http://smarty.php.net/ ). The better
systems will do everything you are looking for and more, and by sticking with a standard system you
will make it much easier for anyone to modify or extend your code.
--
http://www.php.net/manual/en/function.eval.php
http://master.php.net/manage/user-notes.php?action=edit+28712
http://master.php.net/manage/user-notes.php?action=delete+28712
http://master.php.net/manage/user-notes.php?action=reject+28712