Topic: php in posts
I am in the process of making a punbb mod for a community I am involved in. However I am having a problem.
The mod involves a set of bbcode tags which surround a number. I need to use that number in a mysql query and the results need to be displayed in the post. I have edited parser.php to include a php query into the post. However I can seem to get php to work at all in posts. And when i look in the source code my php code has been imported into the post but it is highlighted in pink.
So my question is how do I get php to work in posts, without leaving huge security holes?