[pmwiki-devel] include php file in wiki page
Patrick R. Michaud
pmichaud at pobox.com
Sat Dec 23 20:26:46 CST 2006
On Tue, Nov 14, 2006 at 12:28:44PM -0800, Harvey, Jesse wrote:
>
> I am fairly new to PMWiki and was hoping I could get some assistance.
> Although I know it is not generally a good thing to do, I would like to be
> able to include a php file inside of a wiki page. There are many recipes
> out there now that use iframes and objects but I have been unable to find
> one with markup that will allow me to do a `php type include' that will
> actually execute the php file.
You might try looking at
http://thread.gmane.org/gmane.comp.web.wiki.pmwiki.user/36776/focus=36777 .
It shouldn't be difficult to modify that code to do an include
(capturing the output) instead of executing PHP code directly.
Pm
More information about the pmwiki-devel
mailing list