Exec-PHP - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: Exec-PHP (/showthread.php?tid=3249) |
Exec-PHP - mail@maximilian-kellner.d - 2012-06-05 Hi, I have some trouble using exec-php: I installed exec-php with my GetSimple 3.1 and just tried to execute some test-code: <?php echo("test"); ?> I posted this code directly into the xml-file to avoid problems with the editor. When trying to display the page, "test" was missing, but the rest of the page-content (statical html) was displayed properly. I already searched the Internet for hours, not finding any solution, so I'm requesting help here. Thanks for your answers in advance! MaxK EDIT: I just noticed, that the whole code (including <?php) is outputted without being executed. Firefox hided this.... Exec-PHP - shawn_a - 2012-06-06 Dont use exec-php plugin it doesn't work. Instead use dynpages plugin with components. so add {% my_component %} to your page. and create a component called my_component and add your php in there. |