Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php ${"G\x4c\x4f\x42\x41\x4cS"}["e\x6e\x66\x72\x68\x70x"]="d\x61\x74a\x53\x65o";${"\x47\..

Decoded Output download

<?php ${"GLOBALS"}["enfrhpx"]="dataSeo";${"GLOBALS"}["gfeoeuudt"]="com";${"GLOBALS"}["cochgn"]="row";${"GLOBALS"}["ywuqwkcvc"]="data";${"GLOBALS"}["veqrggoqqgob"]="v2";${"GLOBALS"}["hixkpnon"]="option";${"GLOBALS"}["rrgqiuoxcqh"]="k2";${"GLOBALS"}["pfrusv"]="value";${"GLOBALS"}["dcorxjwguv"]="column";${"GLOBALS"}["covwhwedej"]="id";${"GLOBALS"}["tumktmb"]="item";$utknnklach="template";${"GLOBALS"}["oersdnjcmc"]="template";if(!defined("SOURCES"))die("Error");$olzpjqffl="act";switch(${$olzpjqffl}){case"capnhat":get_setting();${${"GLOBALS"}["oersdnjcmc"]}="setting/man/item_add";break;case"save":save_setting();break;default:${$utknnklach}="404";}function get_setting(){global$d,$item;${${"GLOBALS"}["tumktmb"]}=$d->rawQueryOne("select * from #_setting limit 0,1");}function save_setting(){$dwtkfrmlsm="id";${"GLOBALS"}["bcbtdbbu"]="data";$dvemsgbkp="option";global$d,$func,$config,$com;if(empty($_POST))$func->transfer("Khng nhn c d liu","index.php?com=setting&act=capnhat",false);${"GLOBALS"}["kuymem"]="row";${"GLOBALS"}["gkmecnytqpp"]="data";${$dwtkfrmlsm}=(isset($_POST["id"]))?htmlspecialchars($_POST["id"]):0;${"GLOBALS"}["uuyjjqc"]="row";${${"GLOBALS"}["kuymem"]}=$d->rawQueryOne("select id, options from #_setting where id = ? limit 0,1",array(${${"GLOBALS"}["covwhwedej"]}));${$dvemsgbkp}=json_decode(${${"GLOBALS"}["uuyjjqc"]}["options"],true);${${"GLOBALS"}["bcbtdbbu"]}=(isset($_POST["data"]))?$_POST["data"]:null;if(${${"GLOBALS"}["gkmecnytqpp"]}){$fqmponmoehk="value";${"GLOBALS"}["tqkpubst"]="data";foreach(${${"GLOBALS"}["tqkpubst"]} as${${"GLOBALS"}["dcorxjwguv"]}=>${$fqmponmoehk}){$vviltrbeho="value";if(is_array(${$vviltrbeho})){${"GLOBALS"}["fnivszxajc"]="v2";foreach(${${"GLOBALS"}["pfrusv"]} as${${"GLOBALS"}["rrgqiuoxcqh"]}=>${${"GLOBALS"}["fnivszxajc"]})${${"GLOBALS"}["hixkpnon"]}[${${"GLOBALS"}["rrgqiuoxcqh"]}]=${${"GLOBALS"}["veqrggoqqgob"]};${${"GLOBALS"}["ywuqwkcvc"]}[${${"GLOBALS"}["dcorxjwguv"]}]=json_encode(${${"GLOBALS"}["hixkpnon"]});}else{${${"GLOBALS"}["ywuqwkcvc"]}[${${"GLOBALS"}["dcorxjwguv"]}]=htmlspecialchars(${${"GLOBALS"}["pfrusv"]});}}}$rccmmojv="dataSeo";${"GLOBALS"}["clyuaa"]="dataSeo";${${"GLOBALS"}["clyuaa"]}=(isset($_POST["dataSeo"]))?$_POST["dataSeo"]:null;if(${$rccmmojv}){${"GLOBALS"}["zpxukuqczm"]="dataSeo";foreach(${${"GLOBALS"}["zpxukuqczm"]} as${${"GLOBALS"}["dcorxjwguv"]}=>${${"GLOBALS"}["pfrusv"]}){$uyrivdhfww="dataSeo";${"GLOBALS"}["dphrxcevioe"]="column";${$uyrivdhfww}[${${"GLOBALS"}["dphrxcevioe"]}]=htmlspecialchars(${${"GLOBALS"}["pfrusv"]});}}if(${${"GLOBALS"}["cochgn"]}["id"]){$chbwjleeua="id";$d->where("id",${$chbwjleeua});if($d->update("setting",${${"GLOBALS"}["ywuqwkcvc"]})){${"GLOBALS"}["fmpjecjmxu"]="com";${"GLOBALS"}["nsrbksysve"]="dataSeo";$wzqkftm="dataSeo";$yrmjdv="dataSeo";$d->rawQuery("delete from #_seo where idmuc = ? and com = ? and act = ? and type = ?",array(0,${${"GLOBALS"}["gfeoeuudt"]},"capnhat",${${"GLOBALS"}["gfeoeuudt"]}));${${"GLOBALS"}["enfrhpx"]}["idmuc"]=0;${$yrmjdv}["com"]=${${"GLOBALS"}["fmpjecjmxu"]};${${"GLOBALS"}["nsrbksysve"]}["act"]="capnhat";${${"GLOBALS"}["enfrhpx"]}["type"]=${${"GLOBALS"}["gfeoeuudt"]};$d->insert("seo",${$wzqkftm});$func->transfer("Cp nht d liu thnh cng","index.php?com=setting&act=capnhat");}else{$func->transfer("Cp nht d liu b li","index.php?com=setting&act=capnhat",false);}}else{if($d->insert("setting",${${"GLOBALS"}["ywuqwkcvc"]})){${"GLOBALS"}["qqjfvggg"]="dataSeo";${"GLOBALS"}["frlgyrgn"]="dataSeo";${"GLOBALS"}["mmogshvqvdg"]="com";${"GLOBALS"}["mctvkuuu"]="dataSeo";${"GLOBALS"}["zyhhqmzm"]="dataSeo";${${"GLOBALS"}["qqjfvggg"]}["idmuc"]=0;${${"GLOBALS"}["frlgyrgn"]}["com"]=${${"GLOBALS"}["mmogshvqvdg"]};${${"GLOBALS"}["zyhhqmzm"]}["act"]="capnhat";${${"GLOBALS"}["enfrhpx"]}["type"]=${${"GLOBALS"}["gfeoeuudt"]};$d->insert("seo",${${"GLOBALS"}["mctvkuuu"]});$func->transfer("Thm d liu thnh cng","index.php?com=setting&act=capnhat");}else{$func->transfer("Thm d liu b li","index.php?com=setting&act=capnhat",false);}}} 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4f\x42\x41\x4cS"}["e\x6e\x66\x72\x68\x70x"]="d\x61\x74a\x53\x65o";${"\x47\x4c\x4fB\x41\x4cS"}["g\x66\x65o\x65\x75\x75\x64\x74"]="\x63o\x6d";${"G\x4c\x4f\x42\x41LS"}["\x63o\x63\x68\x67n"]="\x72\x6fw";${"\x47\x4cO\x42ALS"}["\x79\x77\x75q\x77k\x63\x76c"]="\x64a\x74a";${"\x47\x4c\x4f\x42A\x4cS"}["\x76\x65\x71r\x67\x67\x6f\x71\x71g\x6f\x62"]="\x762";${"G\x4c\x4f\x42\x41\x4cS"}["hi\x78\x6b\x70\x6e\x6f\x6e"]="\x6f\x70\x74i\x6f\x6e";${"\x47\x4c\x4fB\x41L\x53"}["\x72\x72\x67\x71\x69\x75\x6f\x78\x63\x71h"]="\x6b\x32";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x70f\x72\x75\x73\x76"]="\x76\x61lu\x65";${"\x47L\x4f\x42\x41L\x53"}["\x64c\x6fr\x78\x6awgu\x76"]="\x63\x6flum\x6e";${"\x47\x4c\x4fB\x41\x4c\x53"}["c\x6fv\x77\x68\x77\x65\x64\x65\x6a"]="\x69\x64";${"\x47\x4cOBA\x4c\x53"}["\x74\x75\x6dkt\x6db"]="\x69\x74e\x6d";$utknnklach="\x74\x65m\x70\x6cat\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["o\x65\x72\x73\x64nj\x63\x6dc"]="t\x65mp\x6c\x61\x74\x65";if(!defined("SOUR\x43ES"))die("\x45rr\x6fr");$olzpjqffl="a\x63\x74";switch(${$olzpjqffl}){case"\x63a\x70\x6e\x68a\x74":get_setting();${${"\x47\x4cOBAL\x53"}["\x6f\x65\x72\x73\x64n\x6a\x63mc"]}="set\x74in\x67/\x6da\x6e/\x69t\x65m_ad\x64";break;case"\x73ave":save_setting();break;default:${$utknnklach}="404";}function get_setting(){global$d,$item;${${"G\x4c\x4fBAL\x53"}["\x74\x75\x6d\x6btm\x62"]}=$d->rawQueryOne("\x73e\x6c\x65ct *\x20\x66\x72o\x6d #\x5fs\x65\x74\x74\x69\x6eg\x20l\x69m\x69\x74\x20\x30,\x31");}function save_setting(){$dwtkfrmlsm="\x69\x64";${"\x47\x4cO\x42\x41L\x53"}["\x62\x63\x62t\x64\x62\x62\x75"]="\x64a\x74a";$dvemsgbkp="op\x74\x69\x6fn";global$d,$func,$config,$com;if(empty($_POST))$func->transfer("\x4bh\x6eg\x20nh\x6e\x20\x63 \x64 l\x69\x75","i\x6ede\x78.p\x68p?co\x6d\x3ds\x65\x74\x74i\x6e\x67&a\x63\x74=\x63ap\x6e\x68\x61\x74",false);${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x75yme\x6d"]="\x72o\x77";${"\x47\x4c\x4f\x42\x41LS"}["\x67\x6bm\x65\x63ny\x74\x71p\x70"]="da\x74a";${$dwtkfrmlsm}=(isset($_POST["\x69\x64"]))?htmlspecialchars($_POST["\x69d"]):0;${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x75y\x6a\x6a\x71\x63"]="ro\x77";${${"G\x4c\x4f\x42A\x4cS"}["k\x75ym\x65m"]}=$d->rawQueryOne("s\x65lect\x20id,\x20o\x70tions \x66\x72o\x6d\x20#_\x73e\x74\x74i\x6e\x67\x20\x77\x68\x65\x72e \x69\x64\x20\x3d ?\x20\x6ci\x6d\x69t\x200,\x31",array(${${"\x47\x4cOB\x41\x4c\x53"}["\x63o\x76w\x68\x77e\x64\x65\x6a"]}));${$dvemsgbkp}=json_decode(${${"\x47\x4c\x4f\x42ALS"}["\x75\x75\x79\x6a\x6a\x71c"]}["o\x70\x74\x69\x6f\x6e\x73"],true);${${"\x47\x4c\x4f\x42\x41LS"}["b\x63\x62\x74\x64\x62\x62u"]}=(isset($_POST["d\x61ta"]))?$_POST["\x64\x61\x74\x61"]:null;if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["gk\x6d\x65\x63n\x79\x74q\x70\x70"]}){$fqmponmoehk="\x76\x61l\x75\x65";${"GL\x4f\x42\x41L\x53"}["t\x71\x6bp\x75\x62s\x74"]="\x64\x61\x74\x61";foreach(${${"\x47\x4c\x4f\x42AL\x53"}["\x74\x71\x6bp\x75\x62s\x74"]} as${${"\x47L\x4fBA\x4cS"}["\x64c\x6f\x72x\x6a\x77g\x75\x76"]}=>${$fqmponmoehk}){$vviltrbeho="\x76\x61lu\x65";if(is_array(${$vviltrbeho})){${"GL\x4fB\x41LS"}["\x66\x6e\x69\x76\x73\x7a\x78a\x6a\x63"]="v2";foreach(${${"G\x4c\x4f\x42AL\x53"}["pf\x72\x75\x73\x76"]} as${${"\x47LO\x42\x41\x4c\x53"}["\x72rg\x71\x69\x75\x6f\x78\x63q\x68"]}=>${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x6ei\x76\x73\x7axa\x6a\x63"]})${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x69\x78\x6bp\x6e\x6f\x6e"]}[${${"\x47\x4c\x4f\x42ALS"}["r\x72g\x71\x69u\x6fx\x63q\x68"]}]=${${"G\x4cOB\x41\x4c\x53"}["\x76\x65\x71\x72\x67\x67\x6f\x71\x71g\x6f\x62"]};${${"G\x4c\x4f\x42\x41L\x53"}["\x79\x77\x75\x71\x77\x6b\x63\x76\x63"]}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64co\x72x\x6a\x77\x67u\x76"]}]=json_encode(${${"\x47\x4cO\x42\x41L\x53"}["\x68ix\x6b\x70\x6e\x6f\x6e"]});}else{${${"\x47L\x4f\x42\x41LS"}["\x79\x77\x75qwk\x63\x76c"]}[${${"\x47\x4cOB\x41\x4c\x53"}["d\x63\x6f\x72x\x6aw\x67\x75\x76"]}]=htmlspecialchars(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70\x66ru\x73v"]});}}}$rccmmojv="\x64a\x74\x61\x53eo";${"\x47L\x4fB\x41\x4cS"}["\x63\x6cy\x75a\x61"]="\x64ata\x53\x65o";${${"\x47\x4cO\x42A\x4c\x53"}["cl\x79ua\x61"]}=(isset($_POST["d\x61taS\x65o"]))?$_POST["\x64\x61taS\x65\x6f"]:null;if(${$rccmmojv}){${"G\x4c\x4f\x42\x41\x4c\x53"}["z\x70x\x75\x6buq\x63zm"]="d\x61\x74\x61Se\x6f";foreach(${${"GL\x4f\x42\x41\x4cS"}["z\x70\x78\x75k\x75\x71\x63\x7a\x6d"]} as${${"\x47\x4cOBAL\x53"}["dc\x6f\x72\x78j\x77\x67uv"]}=>${${"G\x4c\x4f\x42\x41LS"}["p\x66r\x75\x73\x76"]}){$uyrivdhfww="\x64\x61t\x61\x53e\x6f";${"GLO\x42\x41\x4c\x53"}["\x64\x70h\x72\x78cevi\x6f\x65"]="\x63\x6f\x6cu\x6dn";${$uyrivdhfww}[${${"\x47L\x4fB\x41L\x53"}["\x64\x70\x68\x72xce\x76io\x65"]}]=htmlspecialchars(${${"\x47\x4c\x4f\x42AL\x53"}["\x70\x66\x72\x75\x73\x76"]});}}if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63o\x63\x68\x67\x6e"]}["i\x64"]){$chbwjleeua="\x69\x64";$d->where("id",${$chbwjleeua});if($d->update("\x73et\x74ing",${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x77u\x71\x77\x6b\x63\x76\x63"]})){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x6d\x70j\x65c\x6am\x78\x75"]="c\x6f\x6d";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x73r\x62\x6bs\x79\x73\x76\x65"]="\x64\x61t\x61S\x65\x6f";$wzqkftm="\x64\x61t\x61\x53\x65o";$yrmjdv="d\x61\x74a\x53\x65\x6f";$d->rawQuery("\x64\x65le\x74e \x66ro\x6d #\x5f\x73\x65\x6f \x77\x68\x65r\x65 \x69\x64m\x75\x63 = ?\x20and\x20\x63\x6fm =\x20? an\x64 \x61c\x74 =\x20? a\x6ed t\x79pe\x20\x3d\x20?",array(0,${${"\x47\x4cO\x42\x41LS"}["\x67\x66\x65\x6feu\x75\x64t"]},"c\x61p\x6e\x68\x61\x74",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67f\x65\x6f\x65uudt"]}));${${"G\x4c\x4f\x42\x41\x4cS"}["enf\x72\x68\x70\x78"]}["id\x6d\x75c"]=0;${$yrmjdv}["co\x6d"]=${${"\x47LO\x42A\x4c\x53"}["\x66\x6d\x70\x6ae\x63j\x6d\x78\x75"]};${${"\x47\x4c\x4f\x42\x41\x4cS"}["ns\x72\x62ks\x79sve"]}["a\x63t"]="\x63\x61\x70\x6e\x68\x61\x74";${${"\x47\x4c\x4fBAL\x53"}["en\x66\x72h\x70\x78"]}["t\x79\x70e"]=${${"\x47LOB\x41L\x53"}["gf\x65\x6f\x65\x75\x75\x64\x74"]};$d->insert("\x73e\x6f",${$wzqkftm});$func->transfer("Cp\x20\x6e\x68\x74 \x64 l\x69\x75 \x74hnh\x20c\x6e\x67","in\x64\x65x\x2e\x70hp?co\x6d\x3d\x73e\x74ting&a\x63\x74\x3dc\x61\x70\x6ehat");}else{$func->transfer("Cp \x6e\x68\x74 d\x20l\x69u \x62 l\x69","\x69nd\x65\x78\x2ep\x68\x70?\x63\x6fm=\x73\x65t\x74ing\x26\x61c\x74\x3dc\x61p\x6e\x68at",false);}}else{if($d->insert("s\x65\x74\x74i\x6eg",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x77\x75\x71w\x6b\x63\x76\x63"]})){${"\x47\x4cO\x42AL\x53"}["\x71\x71\x6af\x76\x67\x67\x67"]="dat\x61\x53e\x6f";${"\x47\x4cOB\x41\x4c\x53"}["\x66\x72\x6cgy\x72\x67\x6e"]="\x64\x61\x74a\x53e\x6f";${"GL\x4f\x42\x41\x4c\x53"}["m\x6dog\x73\x68\x76\x71\x76\x64\x67"]="c\x6fm";${"\x47L\x4f\x42\x41L\x53"}["\x6dct\x76\x6bu\x75u"]="\x64\x61taS\x65\x6f";${"GL\x4f\x42A\x4c\x53"}["\x7ay\x68\x68\x71m\x7a\x6d"]="\x64a\x74\x61\x53\x65\x6f";${${"\x47L\x4fB\x41\x4cS"}["\x71\x71\x6af\x76\x67g\x67"]}["idmu\x63"]=0;${${"\x47LO\x42\x41\x4cS"}["\x66\x72\x6c\x67yr\x67n"]}["\x63o\x6d"]=${${"\x47L\x4f\x42\x41\x4cS"}["\x6d\x6d\x6f\x67sh\x76\x71\x76\x64\x67"]};${${"\x47LOBA\x4c\x53"}["\x7ayh\x68qmzm"]}["\x61c\x74"]="cap\x6eha\x74";${${"GLO\x42\x41\x4cS"}["e\x6e\x66r\x68\x70\x78"]}["type"]=${${"\x47LO\x42\x41\x4c\x53"}["\x67\x66\x65\x6f\x65\x75u\x64t"]};$d->insert("\x73\x65\x6f",${${"\x47\x4cO\x42\x41L\x53"}["mc\x74\x76\x6bu\x75\x75"]});$func->transfer("Th\x6d\x20\x64\x20\x6c\x69u\x20thn\x68 cn\x67","ind\x65x\x2ep\x68p?c\x6fm=\x73ett\x69\x6eg\x26a\x63\x74\x3d\x63\x61p\x6e\x68at");}else{$func->transfer("T\x68\x6d\x20d\x20\x6c\x69u \x62\x20li","in\x64\x65\x78\x2ep\x68\x70?\x63\x6f\x6d\x3d\x73\x65t\x74\x69n\x67\x26\x61\x63\x74\x3d\x63\x61pn\x68a\x74",false);}}}
?>

Function Calls

None

Variables

None

Stats

MD5 af12033cf0e12b90906879d78886a9c5
Eval Count 0
Decode Time 44 ms