[wp-hackers] Archive on a page?
Mark Jaquith
mark.wordpress at txfx.net
Sun Jan 16 23:15:36 GMT 2005
Alex King wrote:
> With the new 'pages' feature, should we try to implement a way to
> execute PHP from w/in a page? Perhaps eval()ing code within special
> tags? I recognize the potential for harm in this, but it would also
> make the pages feature much more powerful for those who would use it
> (somewhat similar to the hack for not caching certain content in the
> staticize plugin).
You could make a page "template" called "run-php" or something, and just
have that template eval() get_the_content(). We'll probably want to
carefully consider the security implications of this. You could then
create a page and tell it to use the "run-php" template.
More information about the hackers
mailing list