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 ${"GLOBA\x4c\x53"}["\x6cf\x70\x71\x74f\x63\x78\x6f\x6em"]="\x73\x76";${"\x47\x4cO\x4..

Decoded Output download

<?php ${"GLOBALS"}["lfpqtfcxonm"]="sv";${"GLOBALS"}["tyqyrtonefu"]="SQLserv";${"GLOBALS"}["wihfktz"]="row";${"GLOBALS"}["tdptprvojprt"]="SQLUsuario";${"GLOBALS"}["exmvcfvlap"]="SQLUsuario";if(basename($_SERVER["REQUEST_URI"])===basename(__FILE__)){exit("<h1>ERROR 404</h1>Entre em contato conosco e envie detalhes.");}protegePagina("donoadmin");echo "<section id="multiple-column-form\">
<div class="row\">
<div class="col-12\">
<div class=\"card\">
<div class=\"card-header\">
<h4 class="card-title\">Notificar Revendedor</h4>
</div>
<div class="card-body">
<form role=\"form" name="form" id="form\" action="pages/notificacoes/notificar_revendedor.php\" method=\"post">
<div class=\"row">
<div class=\"col-sm-6 col-12\">
<div class="mb-0">
Selecione o Revendedor
</div>
<fieldset class=\"form-group position-relative\">
<select class=\"form-control select2" name="revendedor">
<option selected=selected>Selecione</option>
";${${"GLOBALS"}["exmvcfvlap"]}="SELECT * FROM usuario where tipo='revenda' and subrevenda='nao'";${${"GLOBALS"}["exmvcfvlap"]}=$conn->prepare(${${"GLOBALS"}["tdptprvojprt"]});$SQLUsuario->execute();if(($SQLUsuario->rowCount())>0){while(${${"GLOBALS"}["wihfktz"]}=$SQLUsuario->fetch()){$qbrmzshw="usuario_sistema";${"GLOBALS"}["lxwrmbcn"]="row";if(${${"GLOBALS"}["lxwrmbcn"]}["id_usuario"]!=${$qbrmzshw}["id_usuario"]){${"GLOBALS"}["rdkhbgwwu"]="row";${${"GLOBALS"}["tyqyrtonefu"]}="SELECT * FROM acesso_servidor where id_usuario='".${${"GLOBALS"}["rdkhbgwwu"]}["id_usuario"]."'";${"GLOBALS"}["dbfkllrcn"]="sv";$lovusrvb="SQLserv";${$lovusrvb}=$conn->prepare(${${"GLOBALS"}["tyqyrtonefu"]});$SQLserv->execute();${${"GLOBALS"}["dbfkllrcn"]}=$SQLserv->rowCount();${"GLOBALS"}["mwatmszok"]="row";echo "<option value=\"";echo${${"GLOBALS"}["mwatmszok"]}["id_usuario"];echo "" >";echo ucfirst(${${"GLOBALS"}["wihfktz"]}["nome"]);echo " - Servidores: ";echo${${"GLOBALS"}["lfpqtfcxonm"]};echo " </option>
";}}}echo "</select>
</fieldset>
</div>
<div class=\"col-sm-6 col-12\">
<div class="mb-1">
<div class=\"mb-0\">
Selecione o Tipo
</div>
<fieldset class="form-group position-relative\">
<select class=\"form-control select2\" name="tipo">
<option selected=selected>Selecione</option>
<option value=\"1">Fatura</option>
<option value=\"2">Outros/Servidores</option>
</select>
</fieldset>
</div>
</div>
<div class=\"col-12 text-center\">
<div class="mb-2">
<div class=\"mb-0">
Mensagem
</div>
<fieldset class="form-group position-relative has-icon-left input-divider-left">
<textarea class=\"form-control"  name=\"msg" rows="5\" placeholder=\"Digite ...\"></textarea>
<div class="form-control-position\">
<i class=\"fad fa-at"></i>
</div>
</fieldset>
</div>
</div>
<div class="col-sm-12 col-12 text-center\">
<button type=\"submit\" class=\"btn btn-success">Notificar</button>
<button type=\"reset\" class="btn btn-danger\">Limpar</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Input with Icons start -->
<section id="input-with-icons\">
<div class=\"row match-height\">
<div class=\"col-12">
<div class=\"card">
<div class=\"card-header\">
<h1 class=\"card-title font-medium-2"><i class="fad fa-bell text-warning font-large-1"></i> Notificar Todos</h1>
</div>
<div class=\"card-content">
<form role=\"form" name=\"form" id="form" action=\"pages/notificacoes/notificar_todos.php" method=\"post\">
<div class=\"card-body">
<div class="row\">
<input type=\"hidden" class="form-control" name=\"clientes" value="1">
<input type=\"hidden\" class=\"form-control\" name=\"tipo\" value="2">
<div class="col-12 text-center">
<div class=\"mb-2">
<div class=\"mb-0\">
Mensagem
</div>
<fieldset class=\"form-group position-relative has-icon-left input-divider-left">
<textarea class="form-control"  name="msg" rows="5\" placeholder=\"Digite ..."></textarea>
<div class=\"form-control-position\">
<i class=\"fad fa-at\"></i>
</div>
</fieldset>
</div>
</div>
<div class="col-sm-12 col-12 text-center\">
<button type="submit" class=\"btn btn-success\">Notificar</button>
<button type=\"reset" class=\"btn btn-danger">Limpar</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Input with Icons end -->
"; 
?>

Did this file decode correctly?

Original Code

<?php ${"GLOBA\x4c\x53"}["\x6cf\x70\x71\x74f\x63\x78\x6f\x6em"]="\x73\x76";${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x79q\x79\x72\x74\x6f\x6ee\x66u"]="S\x51L\x73\x65\x72v";${"\x47\x4c\x4fB\x41\x4cS"}["\x77\x69\x68\x66\x6b\x74\x7a"]="\x72o\x77";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x64\x70tpr\x76\x6f\x6apr\x74"]="SQ\x4c\x55\x73\x75a\x72i\x6f";${"\x47\x4c\x4f\x42AL\x53"}["e\x78\x6d\x76c\x66\x76\x6cap"]="\x53Q\x4c\x55\x73u\x61\x72\x69\x6f";if(basename($_SERVER["REQU\x45\x53T\x5fUR\x49"])===basename(__FILE__)){exit("<\x681>\x45\x52ROR\x20\x3404\x3c/h1>En\x74re\x20\x65m\x20c\x6f\x6etat\x6f \x63\x6fnosc\x6f e \x65nvie\x20\x64e\x74a\x6c\x68\x65\x73.");}protegePagina("d\x6fno\x61d\x6d\x69\x6e");echo "\x3c\x73ec\x74\x69\x6f\x6e \x69d=\x22\x6dul\x74i\x70le-\x63olu\x6d\x6e-\x66o\x72m\"\x3e\n\x3cd\x69\x76\x20\x63\x6cass=\x22\x72o\x77\">\n<d\x69\x76\x20\x63\x6c\x61\x73s=\x22\x63\x6f\x6c-1\x32\"\x3e\n<\x64i\x76 \x63\x6ca\x73\x73=\"car\x64\"\x3e\n<\x64iv \x63\x6ca\x73\x73=\"card-\x68ead\x65r\"\x3e\n\x3ch4\x20cl\x61ss\x3d\x22\x63a\x72\x64-t\x69\x74\x6c\x65\">Notif\x69\x63\x61r Re\x76en\x64\x65d\x6f\x72\x3c/\x68\x34\x3e\n\x3c/\x64\x69v>\n\x3cd\x69v \x63l\x61\x73s=\x22c\x61\x72d-\x62ody\x22>\n<\x66\x6f\x72m\x20\x72ole\x3d\"\x66\x6fr\x6d\x22 n\x61m\x65=\x22\x66o\x72m\x22\x20\x69\x64\x3d\x22form\" a\x63\x74\x69o\x6e\x3d\x22\x70a\x67e\x73/no\x74\x69f\x69\x63\x61c\x6fe\x73/n\x6f\x74i\x66i\x63\x61r_re\x76end\x65do\x72.\x70h\x70\" me\x74h\x6f\x64=\"\x70o\x73t\x22>\n<d\x69\x76 \x63\x6ca\x73\x73\x3d\"\x72ow\x22\x3e\n\x3cdiv cl\x61\x73\x73=\"col-\x73\x6d-6\x20\x63ol-\x312\">\n<d\x69\x76 c\x6c\x61ss\x3d\x22mb-0\x22>\n\x53el\x65c\x69\x6fn\x65\x20o Re\x76\x65\x6ed\x65\x64o\x72\n\x3c/d\x69\x76\x3e\n\x3cfie\x6c\x64se\x74\x20\x63l\x61\x73\x73=\"\x66\x6f\x72\x6d-\x67\x72\x6fup\x20\x70os\x69ti\x6fn-r\x65\x6c\x61\x74\x69v\x65\"\x3e\n<s\x65\x6c\x65c\x74\x20c\x6c\x61s\x73=\"fo\x72\x6d-\x63o\x6e\x74r\x6fl\x20s\x65\x6c\x65\x63t\x32\x22 \x6e\x61\x6de\x3d\x22\x72\x65ve\x6ede\x64o\x72\x22>\n\x3c\x6fp\x74\x69\x6f\x6e \x73\x65\x6ce\x63\x74\x65d=\x73e\x6ce\x63t\x65\x64>S\x65l\x65\x63ion\x65</\x6fp\x74\x69o\x6e>\n";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x78\x6d\x76cf\x76l\x61\x70"]}="\x53\x45LE\x43T\x20*\x20\x46\x52OM u\x73u\x61\x72\x69\x6f wh\x65r\x65 t\x69po\x3d\x27r\x65ven\x64\x61' \x61\x6e\x64\x20\x73ub\x72\x65ve\x6e\x64\x61\x3d\x27n\x61o\x27";${${"\x47L\x4fBA\x4c\x53"}["\x65\x78m\x76c\x66\x76la\x70"]}=$conn->prepare(${${"\x47L\x4f\x42\x41L\x53"}["t\x64p\x74\x70r\x76\x6f\x6a\x70\x72\x74"]});$SQLUsuario->execute();if(($SQLUsuario->rowCount())>0){while(${${"\x47\x4c\x4fB\x41L\x53"}["\x77\x69\x68\x66\x6b\x74\x7a"]}=$SQLUsuario->fetch()){$qbrmzshw="\x75\x73\x75\x61\x72\x69o\x5fs\x69\x73te\x6d\x61";${"\x47\x4cO\x42\x41\x4cS"}["\x6c\x78\x77\x72m\x62\x63\x6e"]="ro\x77";if(${${"GL\x4fBAL\x53"}["\x6cx\x77\x72m\x62\x63\x6e"]}["\x69\x64\x5f\x75s\x75\x61rio"]!=${$qbrmzshw}["\x69d\x5fusua\x72\x69o"]){${"\x47\x4c\x4f\x42A\x4c\x53"}["r\x64\x6bh\x62g\x77w\x75"]="row";${${"\x47\x4cO\x42A\x4cS"}["t\x79\x71y\x72\x74\x6f\x6e\x65\x66\x75"]}="S\x45LE\x43\x54\x20*\x20F\x52O\x4d\x20ac\x65\x73s\x6f_s\x65\x72\x76id\x6fr wher\x65 \x69\x64_u\x73\x75ari\x6f\x3d\x27".${${"G\x4c\x4f\x42AL\x53"}["r\x64\x6b\x68b\x67\x77\x77\x75"]}["\x69\x64\x5fus\x75\x61\x72i\x6f"]."\x27";${"G\x4cOBAL\x53"}["d\x62f\x6b\x6cl\x72\x63n"]="\x73v";$lovusrvb="\x53\x51\x4c\x73er\x76";${$lovusrvb}=$conn->prepare(${${"\x47\x4cO\x42AL\x53"}["t\x79q\x79rt\x6f\x6e\x65\x66\x75"]});$SQLserv->execute();${${"\x47L\x4f\x42AL\x53"}["\x64\x62f\x6b\x6clrc\x6e"]}=$SQLserv->rowCount();${"\x47\x4c\x4fBAL\x53"}["m\x77atms\x7aok"]="row";echo "\x3copt\x69\x6f\x6e \x76\x61\x6c\x75e\x3d\"";echo${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x77\x61\x74\x6d\x73\x7a\x6fk"]}["id\x5fu\x73u\x61r\x69\x6f"];echo "\x22\x20>";echo ucfirst(${${"\x47LO\x42\x41\x4c\x53"}["\x77i\x68\x66\x6bt\x7a"]}["n\x6fme"]);echo "\x20- \x53\x65\x72v\x69dores:\x20";echo${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cfp\x71tf\x63\x78\x6f\x6em"]};echo " \x3c/opt\x69\x6fn>\n";}}}echo "\x3c/\x73\x65le\x63\x74\x3e\n\x3c/fie\x6cd\x73\x65\x74>\n\x3c/\x64i\x76\x3e\n\x3c\x64i\x76\x20c\x6cas\x73\x3d\"\x63\x6f\x6c-sm-6\x20co\x6c-1\x32\">\n\x3c\x64iv\x20class\x3d\x22\x6d\x62-1\x22>\n<di\x76\x20c\x6ca\x73\x73=\"\x6db-\x30\">\nS\x65le\x63io\x6e\x65 \x6f T\x69\x70\x6f\n\x3c/\x64\x69\x76>\n<\x66i\x65\x6c\x64se\x74 \x63\x6c\x61ss=\x22\x66\x6fr\x6d-g\x72\x6f\x75p\x20\x70\x6fsiti\x6fn-r\x65\x6c\x61ti\x76\x65\"\x3e\n\x3cse\x6cect\x20c\x6cass\x3d\"f\x6f\x72m-co\x6e\x74\x72\x6f\x6c\x20sel\x65c\x74\x32\" \x6eam\x65\x3d\x22t\x69p\x6f\x22>\n<o\x70\x74io\x6e \x73\x65le\x63t\x65d=\x73\x65\x6ce\x63\x74ed\x3eSele\x63i\x6f\x6e\x65</\x6f\x70t\x69o\x6e>\n<\x6fp\x74\x69o\x6e v\x61lu\x65=\"1\x22>Fa\x74\x75\x72\x61</op\x74\x69on>\n<o\x70\x74\x69o\x6e val\x75\x65=\"2\x22>O\x75tro\x73/Serv\x69dor\x65\x73\x3c/\x6f\x70\x74\x69on\x3e\n</se\x6c\x65c\x74>\n</fi\x65l\x64set\x3e\n\x3c/d\x69v\x3e\n</\x64iv\x3e\n<d\x69v\x20\x63las\x73\x3d\"\x63o\x6c-1\x32\x20t\x65x\x74-cen\x74\x65\x72\">\n\x3c\x64\x69\x76\x20c\x6ca\x73s=\x22m\x62-\x32\x22\x3e\n<d\x69\x76\x20cl\x61\x73s=\"m\x62-\x30\x22>\nM\x65\x6es\x61ge\x6d\n</\x64\x69\x76\x3e\n\x3c\x66\x69e\x6cds\x65\x74 c\x6ca\x73s=\x22f\x6f\x72m-g\x72\x6fu\x70\x20\x70o\x73i\x74i\x6fn-\x72\x65\x6ca\x74i\x76\x65 \x68a\x73-\x69\x63on-\x6ce\x66\x74\x20\x69n\x70\x75\x74-\x64i\x76id\x65r-\x6c\x65\x66t\x22>\n<texta\x72\x65a c\x6cas\x73\x3d\"\x66\x6f\x72\x6d-\x63on\x74\x72\x6f\x6c\x22  n\x61me=\"m\x73\x67\x22 \x72o\x77\x73\x3d\x225\"\x20\x70\x6c\x61\x63\x65\x68ol\x64e\x72\x3d\"D\x69\x67i\x74\x65\x20\x2e\x2e.\"\x3e\x3c/\x74\x65\x78t\x61\x72ea>\n\x3cd\x69v\x20\x63\x6ca\x73\x73=\x22\x66\x6fr\x6d-\x63\x6f\x6etr\x6f\x6c-\x70ositi\x6fn\"\x3e\n\x3c\x69\x20c\x6c\x61ss\x3d\"fa\x64\x20fa-\x61\x74\x22\x3e\x3c/\x69\x3e\n\x3c/\x64\x69\x76\x3e\n</\x66i\x65ld\x73e\x74\x3e\n</d\x69v>\n\x3c/div\x3e\n<\x64iv\x20c\x6c\x61\x73\x73\x3d\x22co\x6c-s\x6d-\x31\x32 \x63\x6fl-\x312\x20\x74ext-c\x65nter\"\x3e\n\x3cb\x75\x74\x74o\x6e \x74\x79pe\x3d\"s\x75\x62\x6di\x74\"\x20c\x6c\x61\x73s=\"b\x74\x6e bt\x6e-suc\x63es\x73\x22\x3eNot\x69f\x69\x63a\x72\x3c/\x62\x75\x74ton>\n<butt\x6fn ty\x70e=\"\x72\x65se\x74\" cl\x61\x73\x73\x3d\x22\x62tn \x62\x74n-\x64\x61\x6ege\x72\"\x3eLimp\x61\x72\x3c/\x62ut\x74o\x6e>\n</\x64iv>\n</\x64\x69\x76\x3e\n</f\x6f\x72\x6d>\n</\x64iv>\n\x3c/\x64i\x76\x3e\n</\x64\x69\x76>\n</d\x69\x76\x3e\n\x3c/se\x63ti\x6fn\x3e\n<\x21-- \x49\x6eput\x20\x77\x69th \x49co\x6e\x73 \x73\x74\x61rt\x20--\x3e\n<\x73e\x63\x74io\x6e i\x64=\x22\x69nput-with-i\x63\x6f\x6e\x73\">\n\x3c\x64\x69\x76 \x63l\x61\x73\x73\x3d\"\x72ow\x20\x6d\x61tc\x68-h\x65\x69\x67ht\">\n<div\x20\x63l\x61s\x73\x3d\"col-\x312\x22>\n<\x64i\x76\x20cl\x61\x73\x73=\"card\x22\x3e\n\x3c\x64\x69v\x20\x63l\x61\x73\x73=\"car\x64-h\x65a\x64\x65r\">\n\x3ch\x31\x20clas\x73=\"c\x61\x72\x64-\x74\x69\x74\x6c\x65\x20f\x6fnt-\x6d\x65\x64ium-\x32\x22>\x3c\x69\x20\x63\x6ca\x73s\x3d\x22\x66\x61d\x20f\x61-b\x65\x6c\x6c te\x78\x74-\x77a\x72\x6ein\x67 \x66o\x6e\x74-l\x61r\x67e-\x31\x22\x3e</i\x3e\x20Not\x69fi\x63\x61r T\x6fdo\x73\x3c/\x681\x3e\n</\x64iv>\n\x3cdiv\x20\x63\x6ca\x73\x73\x3d\"ca\x72d-co\x6eten\x74\x22\x3e\n\x3cfo\x72\x6d \x72ole\x3d\"\x66\x6fr\x6d\x22\x20na\x6d\x65=\"f\x6frm\x22\x20i\x64\x3d\x22f\x6fr\x6d\x22 \x61ct\x69\x6f\x6e=\"\x70a\x67\x65\x73/\x6e\x6f\x74\x69fi\x63\x61co\x65\x73/\x6eotif\x69\x63\x61\x72_\x74o\x64\x6f\x73.p\x68p\x22\x20method=\"\x70\x6fst\">\n\x3c\x64i\x76\x20\x63la\x73\x73\x3d\"\x63\x61\x72\x64-\x62o\x64y\x22>\n<d\x69\x76\x20c\x6cas\x73=\x22\x72o\x77\"\x3e\n\x3c\x69\x6eput\x20\x74\x79pe\x3d\"h\x69\x64\x64en\x22 \x63la\x73\x73\x3d\x22\x66\x6f\x72m-c\x6fnt\x72ol\x22\x20\x6e\x61me\x3d\"\x63lien\x74\x65s\x22\x20\x76\x61\x6cu\x65\x3d\x221\x22>\n\x3c\x69\x6e\x70\x75\x74\x20\x74\x79\x70e\x3d\"\x68idde\x6e\" cl\x61\x73\x73=\"f\x6f\x72\x6d-\x63o\x6etrol\" \x6eame\x3d\"tip\x6f\" \x76\x61l\x75e=\x222\x22>\n<d\x69v c\x6c\x61\x73s=\x22c\x6f\x6c-\x31\x32\x20text-\x63enter\x22>\n\x3c\x64iv c\x6cas\x73\x3d\"\x6db-\x32\x22\x3e\n\x3cd\x69\x76\x20\x63\x6ca\x73\x73\x3d\"mb-0\">\nM\x65\x6e\x73a\x67em\n\x3c/d\x69v\x3e\n\x3c\x66i\x65\x6cd\x73et \x63\x6cas\x73=\"\x66\x6f\x72m-\x67r\x6f\x75\x70 \x70o\x73i\x74i\x6fn-\x72e\x6c\x61t\x69ve\x20\x68a\x73-i\x63\x6fn-\x6c\x65f\x74\x20\x69np\x75\x74-\x64i\x76i\x64e\x72-l\x65ft\x22\x3e\n<\x74e\x78tarea\x20cl\x61\x73\x73\x3d\x22\x66or\x6d-\x63o\x6e\x74rol\x22 \x20n\x61me=\x22\x6d\x73g\x22\x20ro\x77\x73\x3d\x22\x35\" \x70la\x63e\x68\x6fl\x64\x65r=\"Di\x67\x69te\x20\x2e..\x22\x3e\x3c/\x74ext\x61\x72\x65a>\n<di\x76\x20\x63\x6ca\x73\x73\x3d\"\x66\x6f\x72\x6d-c\x6fn\x74\x72o\x6c-\x70o\x73it\x69on\">\n<i\x20c\x6c\x61s\x73\x3d\"fad\x20fa-a\x74\"></\x69>\n</\x64iv\x3e\n</\x66ield\x73et>\n</\x64i\x76>\n\x3c/\x64\x69\x76>\n<di\x76 cl\x61\x73\x73=\x22c\x6f\x6c-s\x6d-\x31\x32 \x63\x6f\x6c-\x312\x20\x74ext-\x63en\x74\x65r\"\x3e\n\x3cb\x75\x74\x74\x6f\x6e\x20type=\x22\x73ubm\x69\x74\x22 \x63l\x61\x73\x73\x3d\"b\x74\x6e\x20b\x74n-s\x75c\x63\x65\x73\x73\">N\x6f\x74i\x66\x69\x63\x61r</\x62\x75\x74\x74o\x6e\x3e\n\x3cb\x75\x74to\x6e \x74y\x70e=\"re\x73et\x22 \x63las\x73\x3d\"\x62tn b\x74n-\x64\x61nge\x72\x22>L\x69m\x70a\x72\x3c/but\x74on\x3e\n</di\x76\x3e\n\x3c/\x64iv>\n\x3c/\x64i\x76>\n</fo\x72m>\n</\x64\x69\x76\x3e\n\x3c/d\x69v>\n\x3c/d\x69v>\n\x3c/\x64\x69\x76>\n</se\x63\x74\x69\x6f\x6e\x3e\n<\x21-- Input \x77\x69t\x68 I\x63ons e\x6e\x64\x20--\x3e\n";
?>

Function Calls

basename 1

Variables

GLOBALS [{'key': 'lfpqtfcxonm', 'value': 'sv'}, {'key': 'tyqyrtonefu', 'value': 'SQLserv'}, {'key': 'wihfktz', 'value': 'row'}, {'key': 'tdptprvojprt', 'value': 'SQLUsuario'}, {'key': 'exmvcfvlap', 'value': 'SQLUsuario'}]

Stats

MD5 88a7c8ab29e37b77671fef82b7d50136
Eval Count 0
Decode Time 55 ms