Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can we use Template engine for Get-Simple need suggestion from GS Team
#28
hi serenado,

(2013-02-25, 01:09:26)Serenado Wrote:
Quote:p.p.s.: i have versions of it that optionally read from a string instead of a file...
This would be interesting.
Could you share the advanced version?

i'm a bit hesitant to post the snippet in here.

i fear that people could (mis)use it, to output unfiltered php code coming from untrusted users.

it's nothing i've invented my self and there are several resources online that explain multiple ways to achieve this. (btw, none of them is safe...)
if you're proficient enough in php to understand in which cases it's ok to use each of them, i'm sure that you will be able to google for them :-)

i have fewer problems in putting the code in a library, since the effort requested to look for the library, understand the code surrounding the snippet and learn how to use it in your code, is an indicator that you (mostly) know what you're doing.

ciao
a.l.e
Reply


Messages In This Thread
RE: Can we use Template engine for Get-Simple need suggestion from GS Team - by ale - 2013-03-01, 18:11:16



Users browsing this thread: 1 Guest(s)