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 $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1Wc0EoPi..

Decoded Output download

?><?php
ini_set('display_errors', 'Off'); 
if( !isset($_SESSION) ) session_start();

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;

$code    = isset($_REQUEST['code']) ? filter_var($_REQUEST['code'], FILTER_SANITIZE_STRING) : NULL; 
$txtSQL  = "SELECT COUNT(*) AS nbDeleg ";
$txtSQL .= "FROM tblDelegation ";
$txtSQL .= "INNER JOIN tblParamEtape ON tblDelegation.IDEtape = tblParamEtape.IDEtape ";
$txtSQL .= "WHERE (tblParamEtape.idDepartement = '{$code}')";

$sttDeleg = $obj->getData($txtSQL);
$nbDeleg  = $sttDeleg['nbDeleg'];

$jsonResponse = array ();
$jsonResponse["existe"] = ( $nbDeleg > 0 ) ? true : false;
echo json_encode($jsonResponse);
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1Wc0EoPiFzbm5NPSgkX3BLcHAzN0UpPik+bk1ubnNPSF9uPWV6PSgpOw1WDVZzQT4oQXNXTV9NUnNuPW4oJ1hYaFE9c1dzPXNNbmhBT0gyPXNPSFhzSDJYWi5aJykpPnpNdlFzek1fT0gyTT4nWFhoUT1zV3M9c01uaEFPSDI9c09IWHNIMlhaLlonOw1WDVZBUUgyPXNPSD5fX2VRPU9XT2U5KCQyV2VubikNVl0NVj4+Pj5zQT4oQXNXTV9NUnNuPW4oIlhYaFE9c1dzPXNNbmhdJDJXZW5ubFhaLloiKSk+c0gyV1E5TV9PSDJNKCJYWGhRPXNXcz1zTW5oXSQy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HJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

strtr 1
strrev 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R 0
$_X 0

Stats

MD5 28e3278991182a33edcbe6efc3532f58
Eval Count 2
Decode Time 62 ms