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 / ulungkusma_web_id / lib /
server ip : 104.21.89.46

your ip : 172.70.80.170

H O M E


Filename/var/www/html/ulungkusma_web_id/lib/parsing.php
Size649
Permissionrw-rw-r--
Ownerulung : ulung
Create time27-Apr-2025 11:16
Last modified05-Feb-2025 12:52
Last accessed29-Jun-2025 18:47
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);

}
?>