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\x42A\x4cS"}["\x77h\x6f\x6bd\x74\x70\x76o\x68\x69d"]="i";${"\x47LO\x42A\..

Decoded Output download

<?php ${"GLOBALS"}["whokdtpvohid"]="i";${"GLOBALS"}["ikmysxq"]="idgal";${"GLOBALS"}["jcislsuse"]="row";${"GLOBALS"}["tyaztju"]="descrgal";${"GLOBALS"}["ngmwvlonmgg"]="ngal";$iegelkidl="disabilita";${"GLOBALS"}["xmrrrg"]="sel";${"GLOBALS"}["kmbskf"]="protcamp";$fcqbeeurg="largtable";$ikcreyqljod="i";${"GLOBALS"}["fnydewcpq"]="utente";$vbsypdfr="i";$trhtztx="tipoutente";${"GLOBALS"}["onqtamcg"]="ressel";${"GLOBALS"}["nsqppesikub"]="token";${"GLOBALS"}["pmedcyagfyy"]="token";include("../functions.php");include("../variabili.php");${${"GLOBALS"}["pmedcyagfyy"]}=$_GET["token"];${"GLOBALS"}["iietfsqenn"]="sel";${"GLOBALS"}["gsofftd"]="i";${"GLOBALS"}["obewxsvr"]="token";$fjfbyovj="mysql";if(${${"GLOBALS"}["nsqppesikub"]}!=($_SESSION["token"])or${${"GLOBALS"}["obewxsvr"]}=="")die("$messaggiocortesia");verificaTimeout(1);${$fjfbyovj}=connessione_database()or die("Errore nella connessione".$mysql->error);${${"GLOBALS"}["fnydewcpq"]}=$_SESSION["P1420-user_utente"];${$trhtztx}=$_SESSION["P1420-tipo_utente"];${${"GLOBALS"}["kmbskf"]}="class=cella8pt";${${"GLOBALS"}["xmrrrg"]}="SELECT *  FROM elenco_gal1420 where (ID_GAL != '99' and ID_GAL != '0' and ID_GAL != '999') order by ID_GAL";${${"GLOBALS"}["onqtamcg"]}=$mysql->query(${${"GLOBALS"}["iietfsqenn"]})or die("Errore nella select1 di scelta del gal ".$mysql->error);$eyefsx="row";${${"GLOBALS"}["ngmwvlonmgg"]}=$ressel->num_rows;$ykyplzfvshod="mess";${$ikcreyqljod}=0;while(${$eyefsx}=$ressel->fetch_assoc()){${"GLOBALS"}["udxjdowvgtb"]="i";$hogifg="i";$jhclwycyeog="row";${${"GLOBALS"}["tyaztju"]}[${${"GLOBALS"}["udxjdowvgtb"]}]=${${"GLOBALS"}["jcislsuse"]}["DESCRIZIONE_GAL"];${${"GLOBALS"}["ikmysxq"]}[${${"GLOBALS"}["whokdtpvohid"]}]=${$jhclwycyeog}["ID_GAL"];${$hogifg}++;}$qucdkeeqyd="ngal";echo "<html>
<head>
<meta http-equiv="Content-Language" content="it">
<title>Scelta GAL</title>
<link rel=\"stylesheet\" type="text/css\" href="../style.css">
<script>
function aggiornaFrameMenu(firstpage,valore)
{
    var menu=firstpage+"?valore="+valore
	parent.intestazione.document.location=menu
}
</script>

</head>
<body  style=\"text-align:left" topmargin=0 class=corpo  onload='aggiornaFrameMenu(\"../Testata1.php\",\"gal")'  onContextMenu="";echo${$iegelkidl};echo "">
<form method=\"POST\" action=\"null">
	<table border="0" width=\"";echo${$fcqbeeurg};echo "" cellpadding=\"0\" cellspacing="0\"   align=center  class=bordotab >
			<tr>
			<td >
			   <div class=\"posdescr" >TABELLE - Elenco GAL</div>
<!--			   <div class=arial9b style=\"width:100%;margin:30px 0 20px 25px;text-align:left" align=center>Scegliere il GAL su cui operare:</div> 
			   <div style="width:100%;" align=center>-->
			   <div style=\"margin: 50px 0 0 0;" align=center>
";for(${${"GLOBALS"}["gsofftd"]}=0;${$vbsypdfr}<${$qucdkeeqyd};${${"GLOBALS"}["whokdtpvohid"]}++){echo "			   <input type=submit style="margin:15px 3px 0 0\"value="";echo${${"GLOBALS"}["tyaztju"]}[${${"GLOBALS"}["whokdtpvohid"]}];echo "" name=B1 onclick=\"this.form.target='centrale';this.form.action='DatiGal.php?token=";${"GLOBALS"}["jxvjsxrh"]="token";echo${${"GLOBALS"}["jxvjsxrh"]};echo "&idgal=";echo${${"GLOBALS"}["ikmysxq"]}[${${"GLOBALS"}["whokdtpvohid"]}];echo "'"  class=bottonestxxl>
";}echo "		  
			   <div style="margin: 25px 0 25px 0;text-align: center;\"><input type=submit value=\"Chiudi" onclick="this.form.target='centrale'; this.form.action='../pageblank.php';\" class=bottonelarge ></div>

<!--<div align=left class="messaggio" style="margin:5px 0 25px 25px ;\">";echo${$ykyplzfvshod};echo "</div> -->

			</td>
			</tr>
			</table>
</form>
</body>
</html>
"; 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4c\x4f\x42A\x4cS"}["\x77h\x6f\x6bd\x74\x70\x76o\x68\x69d"]="i";${"\x47LO\x42A\x4c\x53"}["\x69\x6b\x6d\x79sx\x71"]="\x69\x64g\x61l";${"\x47\x4cO\x42\x41\x4cS"}["\x6ac\x69\x73\x6c\x73\x75\x73\x65"]="\x72\x6fw";${"G\x4cOBA\x4c\x53"}["ty\x61\x7a\x74\x6a\x75"]="d\x65\x73c\x72\x67\x61l";${"\x47\x4c\x4f\x42\x41LS"}["n\x67\x6d\x77\x76\x6co\x6emg\x67"]="\x6e\x67\x61\x6c";$iegelkidl="\x64i\x73a\x62\x69l\x69ta";${"\x47\x4c\x4f\x42A\x4c\x53"}["x\x6d\x72r\x72\x67"]="\x73\x65\x6c";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6bmb\x73\x6b\x66"]="\x70ro\x74\x63\x61m\x70";$fcqbeeurg="\x6c\x61\x72\x67\x74a\x62\x6c\x65";$ikcreyqljod="i";${"G\x4cO\x42\x41L\x53"}["f\x6e\x79d\x65\x77\x63pq"]="\x75\x74e\x6ete";$vbsypdfr="\x69";$trhtztx="\x74\x69p\x6f\x75\x74\x65\x6e\x74\x65";${"\x47\x4cO\x42AL\x53"}["onq\x74\x61\x6dc\x67"]="\x72ess\x65\x6c";${"\x47\x4cO\x42\x41\x4c\x53"}["nsqpp\x65\x73\x69\x6bub"]="\x74\x6fk\x65\x6e";${"\x47\x4cO\x42\x41LS"}["p\x6d\x65\x64c\x79a\x67f\x79y"]="\x74\x6f\x6b\x65\x6e";include("../\x66\x75\x6e\x63\x74\x69\x6fns.\x70\x68\x70");include("../\x76\x61r\x69abi\x6ci\x2e\x70\x68\x70");${${"\x47\x4cOBA\x4cS"}["\x70\x6d\x65\x64cy\x61\x67\x66\x79y"]}=$_GET["toke\x6e"];${"\x47LOB\x41\x4c\x53"}["\x69\x69e\x74\x66\x73\x71\x65\x6e\x6e"]="\x73\x65\x6c";${"G\x4c\x4fB\x41\x4c\x53"}["\x67so\x66\x66\x74\x64"]="\x69";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x62ew\x78\x73vr"]="t\x6f\x6b\x65n";$fjfbyovj="\x6d\x79\x73q\x6c";if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6e\x73\x71\x70pe\x73iku\x62"]}!=($_SESSION["t\x6fke\x6e"])or${${"\x47L\x4f\x42ALS"}["\x6f\x62e\x77\x78s\x76\x72"]}=="")die("$messaggiocortesia");verificaTimeout(1);${$fjfbyovj}=connessione_database()or die("\x45\x72\x72ore \x6ee\x6c\x6c\x61 \x63\x6fn\x6eessi\x6fn\x65".$mysql->error);${${"\x47\x4c\x4f\x42A\x4cS"}["\x66n\x79d\x65\x77\x63\x70\x71"]}=$_SESSION["P\x31420-\x75\x73\x65r_\x75t\x65n\x74\x65"];${$trhtztx}=$_SESSION["P\x3142\x30-ti\x70o_u\x74\x65n\x74e"];${${"\x47\x4c\x4f\x42A\x4c\x53"}["k\x6d\x62\x73k\x66"]}="\x63\x6ca\x73s\x3d\x63\x65ll\x618\x70\x74";${${"\x47\x4cOB\x41L\x53"}["\x78\x6drr\x72g"]}="\x53\x45\x4c\x45C\x54 *\x20\x20\x46\x52O\x4d e\x6ce\x6e\x63o_\x67al\x31\x34\x32\x30 \x77\x68\x65r\x65\x20(I\x44_\x47AL\x20\x21\x3d\x20'\x39\x39\x27 \x61n\x64\x20\x49D\x5f\x47\x41L != '\x30' an\x64\x20\x49\x44_GAL\x20\x21\x3d '99\x39\x27) \x6f\x72\x64e\x72\x20b\x79 \x49\x44_GAL";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6fnq\x74\x61\x6d\x63\x67"]}=$mysql->query(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x69etfsq\x65\x6e\x6e"]})or die("E\x72rore\x20nel\x6c\x61\x20\x73e\x6c\x65ct\x31\x20\x64\x69\x20\x73\x63elta\x20\x64e\x6c\x20\x67a\x6c ".$mysql->error);$eyefsx="row";${${"\x47L\x4fB\x41L\x53"}["\x6eg\x6d\x77\x76\x6c\x6fn\x6dg\x67"]}=$ressel->num_rows;$ykyplzfvshod="\x6de\x73\x73";${$ikcreyqljod}=0;while(${$eyefsx}=$ressel->fetch_assoc()){${"GL\x4f\x42\x41\x4c\x53"}["\x75\x64\x78\x6a\x64\x6f\x77\x76\x67\x74\x62"]="\x69";$hogifg="\x69";$jhclwycyeog="\x72o\x77";${${"G\x4c\x4f\x42AL\x53"}["\x74yaz\x74\x6a\x75"]}[${${"\x47\x4cO\x42\x41\x4c\x53"}["\x75dx\x6a\x64\x6fwvg\x74\x62"]}]=${${"\x47\x4cOB\x41\x4cS"}["jci\x73\x6c\x73\x75s\x65"]}["D\x45\x53\x43\x52IZIO\x4e\x45\x5fGA\x4c"];${${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x6bm\x79sx\x71"]}[${${"\x47LO\x42\x41\x4c\x53"}["\x77\x68o\x6bd\x74p\x76\x6fh\x69d"]}]=${$jhclwycyeog}["\x49D_\x47\x41L"];${$hogifg}++;}$qucdkeeqyd="n\x67al";echo "\x3c\x68t\x6dl\x3e\n<he\x61\x64\x3e\n\x3c\x6de\x74a http-eq\x75\x69\x76\x3d\x22\x43o\x6e\x74en\x74-L\x61nguage\x22\x20\x63\x6fn\x74e\x6e\x74=\x22i\x74\x22\x3e\n<\x74it\x6c\x65>\x53\x63\x65lt\x61 \x47A\x4c\x3c/t\x69\x74l\x65>\n\x3c\x6ci\x6e\x6b r\x65l\x3d\"\x73tyl\x65\x73h\x65et\"\x20\x74\x79pe\x3d\x22t\x65\x78\x74/c\x73\x73\" \x68\x72e\x66\x3d\x22../s\x74y\x6ce\x2e\x63ss\x22\x3e\n\x3c\x73\x63\x72ip\x74\x3e\n\x66unc\x74\x69o\x6e \x61\x67\x67i\x6frnaFra\x6deM\x65n\x75(f\x69rs\x74\x70a\x67e,v\x61\x6c\x6f\x72e)\n{\n  \x20\x20\x76\x61r \x6den\x75=f\x69\x72st\x70\x61g\x65+\x22?v\x61\x6co\x72e=\x22+val\x6f\x72e\n\tpa\x72\x65n\x74.\x69\x6e\x74\x65s\x74a\x7aione.\x64ocu\x6d\x65\x6e\x74\x2e\x6c\x6fc\x61\x74i\x6f\x6e\x3d\x6d\x65n\x75\n}\n\x3c/\x73c\x72\x69\x70t>\n\n\x3c/he\x61d\x3e\n<\x62\x6fd\x79\x20 st\x79\x6ce=\"t\x65\x78t-ali\x67n:\x6ce\x66t\x22 \x74opm\x61\x72gin\x3d0\x20c\x6ca\x73\x73\x3d\x63\x6f\x72p\x6f  \x6f\x6e\x6c\x6fad\x3d'\x61\x67\x67i\x6f\x72naF\x72am\x65\x4d\x65\x6eu(\"\x2e./T\x65\x73\x74\x61t\x61\x31\x2e\x70hp\",\"gal\x22)\x27\x20\x20o\x6e\x43\x6fnt\x65xt\x4de\x6eu=\x22";echo${$iegelkidl};echo "\x22>\n<\x66o\x72m me\x74\x68\x6fd=\"\x50\x4fST\" a\x63\x74ion=\"\x6e\x75\x6c\x6c\x22\x3e\n\t\x3c\x74a\x62\x6c\x65 b\x6fr\x64\x65\x72\x3d\x220\x22\x20\x77i\x64\x74\x68=\"";echo${$fcqbeeurg};echo "\x22\x20\x63e\x6c\x6cpa\x64\x64in\x67\x3d\"\x30\"\x20\x63\x65llsp\x61\x63\x69ng=\x22\x30\"  \x20\x61l\x69gn\x3dce\x6ete\x72\x20\x20\x63\x6c\x61\x73s\x3db\x6f\x72d\x6f\x74\x61b \x3e\n\t\t\t\x3ctr\x3e\n\t\t\t\x3ct\x64\x20>\n\t\t\t \x20\x20\x3c\x64i\x76 \x63\x6c\x61\x73\x73\x3d\"p\x6fsdes\x63r\x22\x20\x3eT\x41\x42EL\x4cE\x20-\x20El\x65n\x63o G\x41L\x3c/\x64\x69v\x3e\n\x3c\x21--\t\t\t  \x20\x3c\x64i\x76\x20\x63lass\x3d\x61ria\x6c\x39b\x20\x73\x74\x79\x6ce\x3d\"\x77id\x74\x68:10\x30\x25\x3bm\x61\x72\x67in:\x330\x70x\x200 20\x70x\x202\x35\x70\x78;te\x78t-\x61\x6c\x69g\x6e:\x6ce\x66\x74\x22\x20\x61l\x69gn\x3dc\x65\x6e\x74\x65\x72>Sce\x67\x6ci\x65\x72e i\x6c\x20\x47\x41\x4c\x20s\x75\x20c\x75\x69 o\x70\x65r\x61r\x65:\x3c/\x64i\x76\x3e \n\t\t\t   <d\x69\x76 st\x79\x6ce\x3d\x22wi\x64\x74\x68:1\x300%;\x22 al\x69g\x6e\x3d\x63\x65\x6et\x65\x72\x3e--\x3e\n\t\t\t \x20 \x3c\x64iv s\x74\x79l\x65=\"m\x61r\x67\x69n: \x350p\x78\x200\x20\x30\x20\x30\x3b\x22 \x61\x6ci\x67n\x3dc\x65\x6ete\x72\x3e\n";for(${${"\x47\x4c\x4f\x42A\x4cS"}["g\x73\x6f\x66f\x74\x64"]}=0;${$vbsypdfr}<${$qucdkeeqyd};${${"\x47L\x4fBA\x4cS"}["\x77h\x6f\x6b\x64\x74p\x76\x6f\x68\x69d"]}++){echo "\t\t\t  \x20<in\x70ut \x74y\x70e=\x73\x75bmit\x20s\x74\x79l\x65\x3d\x22\x6d\x61\x72\x67in:15px\x203\x70x 0 0\"\x76\x61\x6cu\x65\x3d\x22";echo${${"\x47\x4cOB\x41\x4c\x53"}["ty\x61\x7a\x74ju"]}[${${"\x47\x4cOB\x41L\x53"}["\x77\x68\x6f\x6b\x64\x74\x70v\x6f\x68i\x64"]}];echo "\x22 \x6eame\x3d\x42\x31 o\x6ec\x6ci\x63\x6b=\"thi\x73\x2e\x66o\x72m\x2etar\x67\x65t='\x63\x65n\x74\x72\x61\x6ce\x27\x3bth\x69\x73.\x66\x6f\x72m.\x61c\x74ion=\x27\x44atiGa\x6c.ph\x70?\x74o\x6be\x6e=";${"G\x4c\x4f\x42\x41\x4cS"}["\x6axv\x6as\x78\x72\x68"]="t\x6fke\x6e";echo${${"G\x4cOB\x41LS"}["jx\x76\x6as\x78r\x68"]};echo "&\x69\x64\x67\x61\x6c\x3d";echo${${"\x47\x4cOBA\x4cS"}["i\x6bmys\x78\x71"]}[${${"\x47L\x4fBA\x4c\x53"}["\x77\x68\x6f\x6bdt\x70vo\x68\x69d"]}];echo "'\x22  c\x6c\x61\x73\x73\x3d\x62\x6ft\x74o\x6e\x65\x73\x74\x78\x78\x6c\x3e\n";}echo "\t\t \x20\n\t\t\t\x20\x20 <\x64\x69\x76\x20s\x74\x79le\x3d\x22\x6d\x61rg\x69\x6e: \x325\x70\x78\x20\x30\x2025\x70x \x30;t\x65x\x74-\x61lig\x6e:\x20\x63\x65\x6e\x74e\x72\x3b\"\x3e\x3cinp\x75\x74 typ\x65=su\x62\x6d\x69\x74\x20\x76\x61\x6c\x75e\x3d\"C\x68\x69\x75\x64\x69\x22\x20\x6f\x6ecli\x63k=\x22t\x68is\x2e\x66\x6f\x72m\x2e\x74\x61rg\x65\x74\x3d\x27\x63\x65\x6etr\x61\x6ce'; \x74h\x69s.f\x6frm.a\x63tion='.\x2e/p\x61geb\x6c\x61\x6ek\x2e\x70hp';\"\x20\x63l\x61ss\x3d\x62\x6ftt\x6f\x6e\x65la\x72ge\x20></\x64\x69v\x3e\n\n\x3c\x21--<d\x69\x76 ali\x67n\x3dle\x66\x74\x20c\x6c\x61s\x73\x3d\x22m\x65s\x73\x61g\x67io\x22 \x73\x74\x79\x6c\x65\x3d\x22\x6d\x61rg\x69\x6e:\x35\x70x 0\x202\x35\x70\x78\x202\x35\x70\x78\x20;\"\x3e";echo${$ykyplzfvshod};echo "\x3c/\x64i\x76\x3e -->\n\n\t\t\t\x3c/\x74d>\n\t\t\t\x3c/tr>\n\t\t\t\x3c/\x74a\x62le\x3e\n</\x66o\x72m\x3e\n</b\x6fd\x79>\n\x3c/\x68\x74ml\x3e\n";
?>

Function Calls

None

Variables

GLOBALS [{'key': 'whokdtpvohid', 'value': 'i'}, {'key': 'ikmysxq', 'value': 'idgal'}, {'key': 'jcislsuse', 'value': 'row'}, {'key': 'tyaztju', 'value': 'descrgal'}, {'key': 'ngmwvlonmgg', 'value': 'ngal'}, {'key': 'xmrrrg', 'value': 'sel'}, {'key': 'kmbskf', 'value': 'protcamp'}, {'key': 'fnydewcpq', 'value': 'utente'}, {'key': 'onqtamcg', 'value': 'ressel'}, {'key': 'nsqppesikub', 'value': 'token'}, {'key': 'pmedcyagfyy', 'value': 'token'}]
$trhtztx tipoutente
$vbsypdfr i
$fcqbeeurg largtable
$iegelkidl disabilita
$ikcreyqljod i

Stats

MD5 c2bd401826983aafc395dac5eef0e951
Eval Count 0
Decode Time 91 ms