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='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1WDVZzQT..

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 = "tblService";

$key         = isset($_REQUEST['txtKey'])      ? filter_var($_REQUEST['txtKey'], FILTER_SANITIZE_STRING)      : NULL; 
$txtCode     = isset($_REQUEST['txtCode'])     ? filter_var($_REQUEST['txtCode'], FILTER_SANITIZE_STRING)     : NULL; 
$txtIntitule = isset($_REQUEST['txtIntitule']) ? filter_var($_REQUEST['txtIntitule'], FILTER_SANITIZE_STRING) : NULL; 

if ( $key == 'ajout' ) { $condition = null; $flag = 0x01; }
else                   { $condition = "Code = '{$txtCode}'"; $flag = 0x00; }

if ( $key == 'suppr' ) 
{
	$objet = new database;
	$tableau = "tblService";
	$cle = isset($_REQUEST['txtCode'])? filter_var($_REQUEST['txtKey'], FILTER_SANITIZE_STRING) : NULL;
	echo($cle + "<br/>");
	$reqNbDept = "SELECT COUNT(*) as nbDept FROM {$tableau} WHERE Code = '{$txtCode}' and Intitule = ''"; 
	echo($reqNbDept);
	$sttNbDept = $objet->getData($reqNbDept);
	$nbDept    = $sttNbDept['nbDept']; 
	echo($nbDept);
if ( $nbDept != 0)
	{ $obj->deleteData($table, $condition); }
}
else
{	
	$majService = array( 'Code' => $txtCode, 'Intitule' => ucfirst($txtIntitule), 'FlagInfosgenerales' => $flag); 
	$obj->executeQuery($table, $majService, $condition); 
}
?>               

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1WDVZzQT4oQX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zMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

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 0e198b5b8e76ec01e636014d22863055
Eval Count 2
Decode Time 56 ms