[pmwiki-users] How to embed php code

Tim Boland tboland at gmail.com
Wed Dec 13 14:27:22 CST 2006


I see that it is possible to write set php code functions using custom
markup.  Is it possible to write a custom markup tag that will let me write
any inline php code similar to the HTML markup stuff I have seen?
Something like this but for php tags.

Markup(
  'html',
  'fulltext',
   '/\\(:html:\\)(.*?)\\(:htmlend:\\)/esi',
  "'<:block>'.Keep(str_replace(array('&gt;', '&lt;', '&amp;'),
  array('>', '<', '&'), PSS('$1')))");

-- 
----------------------
Tim Boland
www.techtoolblog.com
----------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061213/8af36de9/attachment.html 


More information about the pmwiki-users mailing list