note 95671 added to function.eval
| From: | cephuo at osu1 dot php dot net | Date: | Fri, 15 Jan 2010 05:26:52 +0000 |
| Subject: | note 95671 added to function.eval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-164986@lists.php.net to get a copy of this message | ||
For ajo at NO dot SPAM dot mydevnull dot net:
It should be without PHP Opening tag at the end '<?'
<?php
eval('?>'. file_get_contents('template.phtml'));
?>
otherwise it gets outputted to the browser. Look in the HTML source code.
----
Server IP: 69.147.83.197
Probable Submitter: 92.114.202.85
----
Manual Page -- http://www.php.net/manual/en/function.eval.php
Edit -- https://master.php.net/note/edit/95671
Del: integrated -- https://master.php.net/note/delete/95671/integrated
Del: useless -- https://master.php.net/note/delete/95671/useless
Del: bad code -- https://master.php.net/note/delete/95671/bad+code
Del: spam -- https://master.php.net/note/delete/95671/spam
Del: non-english -- https://master.php.net/note/delete/95671/non-english
Del: in docs -- https://master.php.net/note/delete/95671/in+docs
Del: other reasons-- https://master.php.net/note/delete/95671
Reject -- https://master.php.net/note/reject/95671
Search -- https://master.php.net/manage/user-notes.php