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 ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x72u\x62\x6ef\x64\x65j\x72"]="\x70r\x6fd\x75\x6..

Decoded Output download

<?php ${"GLOBALS"}["jrubnfdejr"]="product_items";${"GLOBALS"}["jrnxajd"]="i";${"GLOBALS"}["xorljroo"]="duan_cats";${"GLOBALS"}["cnxskxq"]="sql";${"GLOBALS"}["xrwwxdo"]="product_cats";${"GLOBALS"}["wnfxomryx"]="news_item";$kjccrfcdav="sql";$txxojalb="product_cats";${"GLOBALS"}["tesonanc"]="dichvu_cats";$d->reset();$ywsswhzwjn="sql";${"GLOBALS"}["imhtgl"]="sql";${"GLOBALS"}["cwayvycodn"]="i";${$kjccrfcdav}="select id,ten,tenkhongdau from #_news_item where hienthi=1 order by stt asc,id desc";$d->query(${${"GLOBALS"}["imhtgl"]});${"GLOBALS"}["uktloup"]="sql";${${"GLOBALS"}["wnfxomryx"]}=$d->result_array();$d->reset();$zpldmkcotrk="i";${"GLOBALS"}["ggjbfgbj"]="sql";${$ywsswhzwjn}="select id,ten,tenkhongdau from #_product_cat where hienthi=1 order by stt asc,id desc";$d->query(${${"GLOBALS"}["uktloup"]});${${"GLOBALS"}["xrwwxdo"]}=$d->result_array();$d->reset();${${"GLOBALS"}["cnxskxq"]}="select id,ten,tenkhongdau from #_duan_cat where hienthi=1 order by stt asc,id desc";$d->query(${${"GLOBALS"}["cnxskxq"]});${${"GLOBALS"}["xorljroo"]}=$d->result_array();$d->reset();${${"GLOBALS"}["ggjbfgbj"]}="select id,ten,tenkhongdau from #_dichvu_cat where hienthi=1 order by stt asc,id desc";$d->query(${${"GLOBALS"}["cnxskxq"]});${${"GLOBALS"}["tesonanc"]}=$d->result_array();echo "<div id=\"smoothmenu1\" class=\"ddsmoothmenu\" >
	<ul>
		<li ";if($_GET["com"]==""||$_GET["com"]=="index"){echo "class="selected\"";}echo "><a href="index.html\">Trang Ch</a></li>
		<li class=\"line"></li>
		<li ";if($_GET["com"]=="gioi-thieu"){echo "class="selected"";}echo "><a href="gioi-thieu.html\">Gii Thiu</a></li>
		<li class="line"></li>
		<li ";if($_GET["com"]=="cac-loai-xe-cho-thue"){echo "class=\"selected\"";}echo "><a href=\"cac-loai-xe-cho-thue.html\">Cc loi xe cho thu</a>
			<!-- <ul>
				";for(${${"GLOBALS"}["cwayvycodn"]}=1;${${"GLOBALS"}["jrnxajd"]}<=count(${$txxojalb});${$zpldmkcotrk}++){$d->reset();${"GLOBALS"}["alstfvpbh"]="i";$mkwfoxxxir="product_cats";$yuipsuqpi="sql";${$yuipsuqpi}="select id,ten,tenkhongdau from #_product_item where id_cat=".${$mkwfoxxxir}[${${"GLOBALS"}["alstfvpbh"]}-1]["id"]." and hienthi=1 order by stt asc,id desc";${"GLOBALS"}["pdwprtpszq"]="sql";$d->query(${${"GLOBALS"}["pdwprtpszq"]});$cnisekox="product_cats";${${"GLOBALS"}["jrubnfdejr"]}=$d->result_array();echo "
				<li><a href=\"";echo ${${"GLOBALS"}["xrwwxdo"]}[${${"GLOBALS"}["jrnxajd"]}-1]["tenkhongdau"];echo "/\">";echo ${$cnisekox}[${${"GLOBALS"}["jrnxajd"]}-1]["ten"];echo "</a>
				</li>
			";}echo "			</ul> -->
		</li>
		<li class="line\"></li>
		<li ";if($_GET["com"]=="hinh-anh"){echo "class=\"selected\"";}echo "><a href=\"hinh-anh.html\">Hnh nh</a></li>
		<li class=\"line\"></li>
		<li ";if($_GET["com"]=="tin-tuc"){echo "class="selected"";}echo "><a href=\"tin-tuc.html">Tin Tc</a></li>
		<li class="line\"></li>
		<li ";if($_GET["com"]=="tuyen-dung"){echo "class=\"selected"";}echo "><a href=\"tuyen-dung.html\">Tuyn dng</a></li>
		<li class="line"></li>
		<li ";if($_GET["com"]=="lien-he"){echo "class=\"selected"";}echo "><a href="lien-he.html">Lin H</a></li>
	</ul>
	<div class=\"search">
		<input type="text\" name=\"keyword" id=\"keyword" PlaceHolder="Nhp t kha ..." class=\"s_text\" onkeypress=\"doEnter(event,'keyword');">
		<input type=\"button" value=\"\" id="button" onclick=\"onSearch();\">
	</div>
</div>
"; 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x72u\x62\x6ef\x64\x65j\x72"]="\x70r\x6fd\x75\x63\x74\x5fit\x65m\x73";${"\x47\x4c\x4fB\x41L\x53"}["\x6ar\x6e\x78\x61\x6ad"]="i";${"\x47LO\x42ALS"}["x\x6f\x72l\x6ar\x6f\x6f"]="du\x61n_\x63\x61\x74\x73";${"GL\x4fBALS"}["\x63\x6ex\x73k\x78\x71"]="s\x71l";${"G\x4c\x4fB\x41LS"}["x\x72w\x77\x78\x64o"]="pr\x6fd\x75c\x74\x5f\x63\x61t\x73";${"\x47L\x4f\x42\x41L\x53"}["w\x6e\x66\x78\x6f\x6d\x72\x79x"]="n\x65\x77\x73\x5f\x69t\x65\x6d";$kjccrfcdav="\x73\x71\x6c";$txxojalb="\x70\x72od\x75ct\x5f\x63\x61\x74\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x74\x65\x73\x6f\x6e\x61\x6ec"]="\x64\x69\x63\x68v\x75\x5f\x63\x61\x74s";$d->reset();$ywsswhzwjn="\x73q\x6c";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69\x6d\x68t\x67\x6c"]="sql";${"G\x4c\x4f\x42\x41L\x53"}["c\x77\x61\x79\x76\x79c\x6f\x64\x6e"]="i";${$kjccrfcdav}="\x73e\x6ce\x63\x74\x20\x69\x64,ten,ten\x6b\x68o\x6egda\x75\x20\x66ro\x6d\x20#_ne\x77s_\x69\x74\x65m\x20whe\x72\x65\x20\x68ient\x68i\x3d1 o\x72\x64er\x20\x62\x79 \x73\x74t\x20a\x73c,i\x64\x20d\x65\x73\x63";$d->query(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69mh\x74\x67\x6c"]});${"\x47\x4cO\x42A\x4c\x53"}["\x75k\x74\x6co\x75p"]="s\x71\x6c";${${"G\x4c\x4fB\x41LS"}["\x77nf\x78\x6f\x6dr\x79x"]}=$d->result_array();$d->reset();$zpldmkcotrk="\x69";${"\x47\x4cO\x42\x41LS"}["\x67\x67\x6a\x62\x66g\x62\x6a"]="\x73\x71\x6c";${$ywsswhzwjn}="sel\x65\x63t\x20\x69d,t\x65\x6e,tenkh\x6fngd\x61u\x20fr\x6fm #\x5f\x70ro\x64\x75\x63t\x5fc\x61\x74 wh\x65\x72\x65 h\x69\x65\x6ethi\x3d\x31\x20o\x72der\x20\x62\x79\x20s\x74t \x61sc,i\x64 des\x63";$d->query(${${"\x47\x4cO\x42\x41L\x53"}["\x75\x6b\x74l\x6f\x75\x70"]});${${"\x47L\x4f\x42AL\x53"}["\x78rw\x77\x78\x64\x6f"]}=$d->result_array();$d->reset();${${"\x47\x4cO\x42A\x4c\x53"}["c\x6e\x78skxq"]}="se\x6c\x65\x63\x74\x20\x69d,te\x6e,t\x65n\x6b\x68ongdau fr\x6f\x6d\x20\x23_d\x75a\x6e_\x63at\x20wh\x65r\x65 h\x69\x65\x6eth\x69=\x31 \x6frder \x62y \x73\x74\x74\x20a\x73\x63,i\x64\x20\x64\x65\x73c";$d->query(${${"G\x4c\x4f\x42A\x4cS"}["c\x6ex\x73k\x78\x71"]});${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x6f\x72\x6c\x6a\x72o\x6f"]}=$d->result_array();$d->reset();${${"\x47\x4c\x4f\x42ALS"}["\x67gj\x62fgbj"]}="s\x65\x6ce\x63t\x20\x69d,\x74\x65\x6e,\x74\x65nkhon\x67\x64\x61\x75 \x66r\x6fm\x20\x23_d\x69\x63\x68\x76\x75\x5f\x63a\x74\x20where hi\x65\x6e\x74hi\x3d1 o\x72de\x72\x20\x62\x79 \x73\x74\x74\x20\x61\x73\x63,\x69d\x20des\x63";$d->query(${${"\x47LOBALS"}["\x63\x6e\x78s\x6bxq"]});${${"\x47\x4c\x4f\x42A\x4cS"}["\x74\x65\x73o\x6ea\x6e\x63"]}=$d->result_array();echo "<d\x69v\x20\x69d=\"s\x6d\x6f\x6f\x74h\x6d\x65n\x75\x31\"\x20cl\x61s\x73=\"\x64\x64sm\x6f\x6fth\x6denu\"\x20\x3e\n\t\x3c\x75\x6c>\n\t\t<l\x69 ";if($_GET["com"]==""||$_GET["c\x6fm"]=="i\x6edex"){echo "\x63l\x61\x73s\x3d\x22\x73\x65\x6ce\x63\x74\x65d\"";}echo "\x3e<\x61 \x68r\x65f\x3d\x22in\x64\x65x.\x68tm\x6c\"\x3eTr\x61n\x67 C\x68</\x61>\x3c/li>\n\t\t<li\x20\x63la\x73s\x3d\"l\x69\x6ee\x22></\x6ci\x3e\n\t\t\x3cl\x69 ";if($_GET["\x63\x6f\x6d"]=="gioi-th\x69\x65u"){echo "cla\x73s=\x22\x73\x65le\x63t\x65d\x22";}echo ">\x3ca \x68r\x65\x66=\x22\x67\x69\x6f\x69-\x74h\x69e\x75\x2e\x68\x74\x6d\x6c\"\x3eGi\x69\x20Th\x69\x75\x3c/\x61>\x3c/li>\n\t\t<li\x20class\x3d\x22l\x69\x6ee\x22\x3e</l\x69>\n\t\t\x3cli ";if($_GET["\x63om"]=="\x63\x61\x63-\x6coa\x69-\x78\x65-c\x68\x6f-thu\x65"){echo "c\x6cass\x3d\"se\x6ce\x63\x74\x65d\"";}echo "\x3e<a \x68re\x66\x3d\"\x63\x61c-loai-\x78e-c\x68\x6f-\x74hue\x2eh\x74\x6d\x6c\"\x3eC\x63 l\x6fi \x78\x65 c\x68\x6f \x74h\x75\x3c/\x61\x3e\n\t\t\t\x3c!-- \x3c\x75l\x3e\n\t\t\t\t";for(${${"GLO\x42\x41\x4c\x53"}["c\x77\x61y\x76\x79\x63odn"]}=1;${${"\x47L\x4f\x42A\x4cS"}["j\x72n\x78a\x6a\x64"]}<=count(${$txxojalb});${$zpldmkcotrk}++){$d->reset();${"\x47L\x4f\x42\x41LS"}["\x61ls\x74fv\x70\x62h"]="\x69";$mkwfoxxxir="pr\x6f\x64\x75\x63\x74\x5f\x63ats";$yuipsuqpi="s\x71l";${$yuipsuqpi}="s\x65l\x65\x63t \x69d,\x74\x65\x6e,\x74en\x6b\x68\x6f\x6egda\x75 f\x72o\x6d #\x5f\x70ro\x64u\x63t_\x69\x74e\x6d\x20\x77he\x72e i\x64\x5f\x63a\x74\x3d".${$mkwfoxxxir}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61l\x73\x74\x66\x76p\x62\x68"]}-1]["i\x64"]." \x61\x6ed\x20\x68\x69\x65\x6e\x74h\x69=\x31 \x6f\x72\x64\x65\x72\x20\x62y \x73t\x74 as\x63,i\x64 de\x73c";${"\x47LO\x42\x41\x4cS"}["\x70\x64w\x70\x72t\x70\x73\x7a\x71"]="sql";$d->query(${${"GL\x4f\x42\x41\x4cS"}["\x70d\x77\x70r\x74ps\x7a\x71"]});$cnisekox="\x70\x72\x6f\x64u\x63\x74_\x63\x61t\x73";${${"\x47\x4c\x4f\x42ALS"}["\x6a\x72ub\x6ef\x64e\x6a\x72"]}=$d->result_array();echo "\n\t\t\t\t<\x6c\x69\x3e<a \x68\x72e\x66=\"";echo ${${"\x47\x4c\x4fBA\x4c\x53"}["\x78r\x77\x77\x78\x64o"]}[${${"\x47LO\x42ALS"}["j\x72nx\x61\x6ad"]}-1]["te\x6ekh\x6f\x6e\x67d\x61u"];echo "/\">";echo ${$cnisekox}[${${"G\x4c\x4f\x42A\x4cS"}["\x6a\x72\x6exaj\x64"]}-1]["t\x65\x6e"];echo "\x3c/a>\n\t\t\t\t</li>\n\t\t\t";}echo "\t\t\t</ul>\x20-->\n\t\t\x3c/li>\n\t\t<li\x20\x63las\x73\x3d\x22l\x69n\x65\"></\x6ci>\n\t\t\x3c\x6c\x69 ";if($_GET["\x63\x6fm"]=="\x68\x69nh-\x61nh"){echo "c\x6c\x61\x73\x73\x3d\"se\x6c\x65c\x74e\x64\"";}echo "><a\x20\x68re\x66\x3d\"\x68\x69\x6eh-anh.ht\x6dl\"\x3eH\x6eh n\x68</a\x3e\x3c/\x6c\x69\x3e\n\t\t\x3cl\x69 c\x6ca\x73\x73\x3d\"l\x69ne\"\x3e\x3c/l\x69>\n\t\t\x3c\x6c\x69 ";if($_GET["\x63\x6f\x6d"]=="\x74\x69n-tuc"){echo "\x63\x6c\x61\x73s\x3d\x22\x73\x65\x6cecte\x64\x22";}echo "\x3e\x3ca hr\x65f\x3d\"t\x69\x6e-tuc.ht\x6dl\x22>T\x69\x6e\x20Tc</\x61\x3e\x3c/l\x69\x3e\n\t\t<li \x63lass\x3d\x22line\"\x3e</l\x69\x3e\n\t\t<\x6c\x69\x20";if($_GET["com"]=="t\x75\x79\x65n-\x64u\x6eg"){echo "\x63l\x61ss=\"sel\x65\x63ted\x22";}echo "><\x61 \x68re\x66=\"t\x75\x79\x65n-d\x75n\x67\x2e\x68\x74\x6dl\">\x54uyn \x64n\x67</\x61></\x6ci>\n\t\t<l\x69\x20class\x3d\x22\x6ci\x6ee\x22>\x3c/l\x69\x3e\n\t\t<l\x69 ";if($_GET["\x63om"]=="l\x69en-he"){echo "cl\x61\x73s\x3d\"s\x65\x6cec\x74\x65d\x22";}echo "\x3e<\x61 \x68r\x65\x66=\x22l\x69\x65n-h\x65\x2e\x68tml\x22>\x4c\x69\x6e\x20H</a\x3e</l\x69>\n\t</u\x6c\x3e\n\t\x3cd\x69\x76\x20\x63\x6cas\x73=\"\x73e\x61r\x63\x68\x22\x3e\n\t\t\x3cin\x70ut\x20\x74ype=\x22t\x65x\x74\"\x20\x6e\x61\x6d\x65=\"\x6b\x65\x79\x77\x6f\x72\x64\x22 id\x3d\"k\x65\x79\x77or\x64\x22\x20\x50\x6caceH\x6fld\x65\x72=\x22Nh\x70\x20t\x20\x6bha ..\x2e\x22\x20class\x3d\"\x73_t\x65xt\"\x20\x6fnk\x65\x79\x70r\x65s\x73=\"d\x6fEnte\x72(ev\x65nt,\x27keyw\x6frd')\x3b\x22>\n\t\t\x3c\x69nput\x20type=\"\x62\x75t\x74on\x22 va\x6cue\x3d\"\" \x69\x64\x3d\x22\x62\x75t\x74\x6fn\x22 oncl\x69ck=\"o\x6e\x53\x65arc\x68();\">\n\t</di\x76\x3e\n</\x64i\x76>\n";
?>

Function Calls

None

Variables

GLOBALS [{'key': 'jrubnfdejr', 'value': 'product_items'}, {'key': 'jrnxajd', 'value': 'i'}, {'key': 'xorljroo', 'value': 'duan_cats'}, {'key': 'cnxskxq', 'value': 'sql'}, {'key': 'xrwwxdo', 'value': 'product_cats'}, {'key': 'wnfxomryx', 'value': 'news_item'}, {'key': 'tesonanc', 'value': 'dichvu_cats'}]
$txxojalb product_cats
$kjccrfcdav sql

Stats

MD5 f284952394ccb2af88bcb304189be9c2
Eval Count 0
Decode Time 83 ms