PHP in posts - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5) +--- Thread: PHP in posts (/showthread.php?tid=238) |
PHP in posts - internet54 - 2009-12-09 I've got a theory. Anything is possible... I think. Anyway, a post cannot have php embedded in it. I've tried it, and I knew it wouldn't work. However, I can create a special character markup like, #*#$FUNCTION#*# I'm curious if PHP or maybe JS could do a simple "find and replace". You could put the code in a component and include the component somewhere above the post. Better example. COMPONENT Code: <?php XML FILE Code: I just want to say #*#$yeah#*# OUTPUT Code: I just want to say hello world |