Allow php code inside the pages is a very very bad idea (from the security
point of view)

I discourage you from doing that. If you need to include links on your
content you should use an alternative markup language like markdown or html
(there are a lot of wysiwyg plugins out there)

Regards

Pablo Viojo
pvi...@gmail.com
http://pviojo.net

¿Que necesitas?
http://www.needish.com


On Mon, Mar 8, 2010 at 5:49 PM, braincramp <krlcmp...@gmail.com> wrote:

> Hi, I have a CMS application and would like to include <?php echo
> $html->link() ?> and other such tags inside the content of pages that
> are stored in the database. However, when I view the pages, the php
> tags are displayed as text. Is there a way to parse PHP code from
> database content in a view?
>
> Thanks
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to