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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download

 include("./includes/connection.php");
include("./includes/header.php");
$controlforminput = '';
if(!isset($_SESSION['userinfo'])){
@session_destroy();
header("Location: ../index.php?InvalidPrivilege=yes");
}
if(isset($_SESSION['userinfo']['Setup_And_Configuration'])){
if($_SESSION['userinfo']['Setup_And_Configuration'] != 'yes'){
header("Location: ./index.php?InvalidPrivilege=yes");
}
}else{
@session_destroy();
header("Location: ../index.php?InvalidPrivilege=yes");
}
;echo '
<style>
		table,tr,td{
		border-collapse:collapse !important;
		border:none !important;
		
		}
	tr:hover{
	background-color:#eeeeee;
	cursor:pointer;
	}
 </style> 
';
if(isset($_SESSION['userinfo'])){
if($_SESSION['userinfo']['Setup_And_Configuration'] == 'yes'){
;echo '    <a href=\'setupandconfiguration.php?BackToSetupAndConfiguration=BackTosetupAndConfigurationThisPage\' class=\'art-button\'>
        BACK
    </a>
';}};echo '<br/><br/>
<center>
<fieldset>
<table width="60%">
	<tr>
		<td width="20%" style="text-align: right;"><b>SELECTED REGION&nbsp;&nbsp;&nbsp;:</b></td>
		<td style="text-align: left;" id="Selected_Area">
			';
$select = mysqli_query($conn,"select * from tbl_regions where Region_Status = 'Selected'") or die(mysqli_error($conn));
$num = mysqli_num_rows($select);
if($num >0){
while ($data = mysqli_fetch_array($select)) {
$Selected_Region = $data['Region_Name'];
}
}else{
$Selected_Region = 'No Region Selected';
}
;echo '			&nbsp;&nbsp;';echo ucwords(strtolower($Selected_Region));;echo '		</td>
		<td width="40%">
			<input type="text" name="Region_Name" id="Region_Name" placeholder="~~~ ~~~ ~~~ Enter Region Name ~~~ ~~~ ~~~" autocomplete="off" style="text-align: center;" onkeypress="Search_Region()" oninput="Search_Region()">
		</td>
	</tr>
</table>
</fieldset>
<fieldset style=\'overflow-y: scroll; height: 400px; width: 45%; background-color: white;\' id=\'Regions_Fieldset\'>
	<legend align="center" ><b>DEFAULT REGION REGISTRATION SETTING</b></legend>
	<table width="100%">
		<tr>
			<td width="8%"><b>SN</b></td>
			<td><b>REGION NAME</b></td>
			<td width="15%" style="text-align: center;"><b>ACTION</b></td>
		</tr>
	';
$temp = 0;
$select = mysqli_query($conn,"select * from tbl_regions") or die(mysqli_error($conn));
$num = mysqli_num_rows($select);
if($num >0){
while ($data = mysqli_fetch_array($select)) {
;echo '		<tr>
			<td>';echo ++$temp;;echo '</td>
			<td>';echo ucwords(strtolower($data['Region_Name']));;echo '</td>
			<td>
				<input type="button" name="Submit" id="Submit" value="SELECT" class="art-button" onclick="Get_Region(';echo $data['Region_ID'];;echo ')">
			</td>
		</tr>
	';
}
}
;echo '	</table>
</fieldset>
</center>

<script type="text/javascript">
	function Get_Region(Region_ID){
		if(window.XMLHttpRequest){
		    myObjectUpdate = new XMLHttpRequest();
		}else if(window.ActiveXObject){
		    myObjectUpdate = new ActiveXObject(\'Micrsoft.XMLHTTP\');
		    myObjectUpdate.overrideMimeType(\'text/xml\');
		}
		myObjectUpdate.onreadystatechange = function (){
		    data29 = myObjectUpdate.responseText;
		    if (myObjectUpdate.readyState == 4) {
			document.getElementById(\'Selected_Area\').innerHTML = data29;
			
		    }
		}; //specify name of function that will handle server response........
		
		myObjectUpdate.open(\'GET\',\'Get_Selected_Region.php?Region_ID=\'+Region_ID,true);
		myObjectUpdate.send();
	}
</script>

<script type="text/javascript">
	function Search_Region(){
		var Region_Name = document.getElementById("Region_Name").value;
		if(window.XMLHttpRequest){
		    myObjectSearch = new XMLHttpRequest();
		}else if(window.ActiveXObject){
		    myObjectSearch = new ActiveXObject(\'Micrsoft.XMLHTTP\');
		    myObjectSearch.overrideMimeType(\'text/xml\');
		}
		myObjectSearch.onreadystatechange = function (){
		    data30 = myObjectSearch.responseText;
		    if (myObjectSearch.readyState == 4) {
			document.getElementById(\'Regions_Fieldset\').innerHTML = data30;
			
		    }
		}; //specify name of function that will handle server response........
		
		myObjectSearch.open(\'GET\',\'Initial_Setting_Search_Regions.php?Region_Name=\'+Region_Name,true);
		myObjectSearch.send();
	}
</script>
';
include("./includes/footer.php");

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x15e8;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4MSk7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwnRW50ZXJ5b3V3a2hSSFlLTldPVVRBYUJiQ2NEZEZmR2dJaUpqTGxNbVBwUXFTc1Z2WHhaejAxMjM0NTY3ODkrLz0nLCdBQkNERUZ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FmkpcoaYDB1laulXcUiFk3OlGuWvGo1SbtFpKXPktb0htWlsGA9JDMajfyaXcoy0cU5vdmklCBO5F3OifoajDoyVc2AINUnMfB5jfolvdJEPhbShtWLIwtEIcoy0CTw5we0IdblNCMplC3OaFoOifoAVFMazFo9VF2aAcbi0KXPktUEIwtnpcJEPdblNCMplC3OaFoOifoAVFMaiculTfoy0cUE9NUE0hUn7tILktBOvC3ascB50RMflfraScB1ldmOtGAlLhyXmA2aScBY0cBOgWbklCaXmhU5pdM5lFLiATAXINUnLCbOiHjL7tILktWPktUEIwtn9tILkgTSIRZ9zFoajDBc5wo5idBAId2CIcmaVC3Opd24Ifoiiftn3DBxSwoiidMOScUnzcbk2cbwIFMazFo9VF2AVRJ4VRJ4VRIPktWPktB15T2kQcBY0abnLCbOlRM9XcB4PbtfuOaOFkZxFk0flfy9TcBxlC3Olcy9UcBfpd24VFoiXN1klc2lvdl9kOe1FkZsUcBfpd25gUAWSfuk1cUL7tILkdblNCMplC3OaFoOifoAVF2aVctIpKXPkgWP8R3YjFMlXfe4htjxzC3kpFuWIfulXcT0Jfoa4ft9QCbciF2YZDbn0wj4htBc1dMY0DB9VwyYlCbkjDy9UcBfpd24PhbShtWl2CbwIAMamDB9Vb05idBAINUnLd2Y1dBaVft5mcbOydoascB50WmlkctIJAMamDB9Vb05idBAJhU52CBx1cTShtWlpcJi3DB5Ld3FVBr1HUuO0FyklFbalF3WpGXPktUEIwtnsGA9JDMajfyYlCbkjDtE9wo5lfZnCTAxwfuOXAMaxfBazftIpKXPktb1lduYlwolMhufpdMOvfZ5nC3OpfMaCT2kQcBY0hbShtWLIwtEIdblNCMplC3OTcByZC2IINUnVcbFIWBY0DbclBr9JDMajftiFk01pC3kzd2c0RliYTriAaynFkZL7tILkwtEIwo15T2kQcBY0A2aiFMYPRM92cbkZDBOlTBlscaO5FoAPbtf0cbi0R3isdyXmhTShtWl9tILkdblNCMplC3OTcByZC2IVd25ZcByLGbY0CbOlC2iidMflwe0IcmaVC3Opd24Ihtl7tILkwtEIwoOiforzHtE9wo15T2kQcBY0A2aiFMYPRmklF3nvdmYlaoa4feShtWLIwtEIDBCIho15T2kQcBY0A2aiFMYPRmklCBO5A3OifoAINT0IYtLIGXPktWlLd2Y1dBaVft5mcbOydoascB50WmlkctiFk1klc2lvdmYgOMlldoOzcbOFkZLVDB5Vcbkwar1Hwe0Icoy0CTHXKXPktWLhtWLIwtEIgWPktb07wt8vF3nlC2lMGUnVCB1lwo9Mwoc1dMY0DB9VwuOPCbWIf2lSdtnPCB5LdoAIF2aZfMaZwuklF3nvdmYlRJ4VRJ4VRJ4htWLhtWlsGA9JDMajfyYlCbkjDt5vFoaVhyXmO0aAbtFSbtfkdMl0DBySb1YlfuOpdMfgA2aiFMYPb1klc2lvdmHVFoiXN1klc2lvdl9KCB1lNaXmh1klc2lvdl9KCB1lRuOZfBApKXPktB15T2kQcBY0A2aiFMYPRmYldMWPhTShtb0hNt9zC3kpFuW+tJF7tMlVC2x1coAPwJ4vDB5jduaLcbHvcM9vfoaZRmnPFtwpKX==fjqqc

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 5608
$OO00O00O0 include("./includes/connection.php"); include("./includes/h..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 292bb3ab146b8b6ea28a7915145aa100
Eval Count 3
Decode Time 118 ms