jcomin / phpobfuscator

Automatically exported from code.google.com/p/phpobfuscator
0 stars 0 forks source link

if i have tamplate system stored on mysql database? #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hey

if i have tamplate stored on mysql database what can i do change 
the varibles names on the tamplates?

like this

<html>
<header>
<title>$site_name</title>
</header>
<body>$data</body>
</html>

and now i will use eval(); to get the tamplte
but $data or $site_name or any varblie had changed

so how can i change the varblies in my database?

Original issue reported on code.google.com by 7ad...@gmail.com on 24 Dec 2006 at 9:25

GoogleCodeExporter commented 8 years ago
You can choose to not obfuscate your special template tags such as $site_name 
and
$data.  If you exclude these special keywords from obfuscation it should work. 

The problem is that the obfuscator can't tell if a string is just a string that 
can
be encoded or something that will be evaluated. 

Original comment by gregr...@gmail.com on 20 Jun 2007 at 5:19