Issue with get_component - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Issue with get_component (/showthread.php?tid=121) |
Issue with get_component - crashfellow - 2009-09-04 Was getting an error of <? displaying when i used components. I adjusted to: Code: function get_component($id) { Remove an extra ?> at the end of the eval line, fixed it up. Can you let me know if this is a security issue or the correct method to fix the issue? Issue with get_component - ccagle8 - 2009-09-05 I did see this on one of my local servers too, but haven't seen it anywhere else - is this where you saw it too? i think this would cause a problem for html and php code that are in the same component. The parser would try to evaluate HTML code as PHP and you would get errors... Issue with get_component - crashfellow - 2009-09-06 Yeah it's on the localhost (wamp) I've not had any issues since uploading live with the change affecting my site. |