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 function tjvTh6DZJ4Kft6KW84yaHve($PyHSWJGp7MaiVQr){$__i=strrev("edoced_46esab");eval..

Decoded Output download

?><?php
ini_set('display_errors', 'Off'); 

if (file_exists('../utilities/fonction.inc.php')) require_once '../utilities/fonction.inc.php';

function __autoload($class)
{
    if (file_exists("../utilities/{$class}.php")) include_once("../utilities/{$class}.php");	
}

$obj = new database;

$table = "tblEnfAllocationCnaps";

$txtIdEnf   = isset($_REQUEST['txtIdEnf'])   ? $_REQUEST['txtIdEnf']   : NULL; 
$txtSalarie = isset($_REQUEST['txtSalarie']) ? $_REQUEST['txtSalarie'] : NULL;
$chkCNaPS   = isset($_REQUEST['chkCNaPS'])   ? $_REQUEST['chkCNaPS']   : NULL;
$chkCNaPS   = $chkCNaPS ? 1 : 0;	

$txtSQL       = "SELECT COUNT(*) AS nbAllocation FROM {$table} WHERE IDEnfCnaps = {$txtIdEnf}"; 
$sttAlloc     = $obj->getData($txtSQL);  
$nbAllocation = $sttAlloc['nbAllocation']; 

if ( $nbAllocation > 0 )
{
	$condition     = "IDEnfCnaps = " . $txtIdEnf; 
	$updAllocation = array( 'ALLOCATION' => $chkCNaPS); 
}	// if ( $nbAllocation > 0 )
else
{
	$condition = null; 
	$updtAllocation = array( 'IDEnfCnaps' => $txtIdEnf, 'NumSalarie' => $txtSalarie, 'ALLOCATION' => $chkCNaPS); 
}
$obj->executeQuery($table, $updtAllocation, $condition);
?><?php 

Did this file decode correctly?

Original Code

<?php function tjvTh6DZJ4Kft6KW84yaHve($PyHSWJGp7MaiVQr){$__i=strrev("edoced_46esab");eval('$__j=$__i("$PyHSWJGp7MaiVQr");');$__c='Zo.vYLOOuK594y.<IvxC1D{kuVW]Dy.h4K0h4h48jvxq6K32Ic8tYL={vK5KjvbK1i75Dy.f1D{<4ht2BRfdxDZOuV5<1i.rBy6duK{<1i0 BK5 3h]k1/}2IeCt4K.7xi5h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hj}<IveZJ4VZTuV7d3yW<1i0 jY<t3Dph3DC=jvxTco7qL<Waea0lph}0qR}C3ybQL<]baWEOlh}{v2<pBh>t1i3tIv}CuKpTuV7d3yW<1i0 jYftEv}OYLO5u/{5YLOHYL=ppV{duKZOxV5duR}0jV]JuVkHj}<IveZJ4VZ<Li78uy{bxV5duR}0jVWh4KW]Iv}2eaZWuK6YuKWk4h4tqcftp/Zfxo5CZi]KBv}2c2.wayW83DpO6e4tqcftp/ZfxW{buVWh1ia8jvxTco7qL<Waea0lph}0qR}C3ybQL<]baWEOlh}{v2<{vRZd3K=wqK.f6i{JxV.Zxi.hGetCxVWRuVa8jvZJ4VZ<Li78uy{bxV5duRktpV{duKZOxV5duRCHYLOVeafm';$__s=strtr($__c,"ACv.sfKXY{dEn58wjIBToFUtb9>gL}=kqeZ0RuD[4lz Om<12PyHSWJGp7MaiVQr/cN]h63x"," kCV]4m.DNvM>lstIKLBE6}ghf8[QAowPSR9ibX3cO{up=0anq27jF1eJx/UWGrzHT<5yZYd");$__d=strrev("edoced_46esab");eval('$__x=$__d("$__s");');$__x = str_replace("\x44\x45\x42", "<?php", $__x);$__x = str_replace("\x46\x49\x4e", "?>", $__x);eval('?>' . $__x . '<?php ');}eval('?>' . tjvTh6DZJ4Kft6KW84yaHve('335eb3927d48c355d5c4ae6d9b2e354d') . '<?php '); ?>

Function Calls

strtr 1
strrev 2
str_replace 2
base64_decode 2
tjvTh6DZJ4Kft6KW84yaHve 1

Variables

$__c Zo.vYLOOuK594y.<IvxC1D{kuVW]Dy.h4K0h4h48jvxq6K32Ic8tYL={vK5K..
$__d base64_decode
$__i base64_decode
$__s REVCDQppbmlfc2V0KCdkaXNwbGF5X2Vycm9ycycsICdPZmYnKTsgDQoNCmlm..
$__x <?php ini_set('display_errors', 'Off'); if (file_exists..
$PyHSWJGp7MaiVQr 335eb3927d48c355d5c4ae6d9b2e354d

Stats

MD5 d18d0c9ba3df09c93533cd0590331aa4
Eval Count 4
Decode Time 74 ms