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;
$txtKey         	= isset($_REQUEST['txtKey'])      			? filter_var($_REQUEST['txtKey'], FILTER_SANITIZE_STRING)      			: NULL; 
$txtcodeconstante   = isset($_REQUEST['txtcodeconstante'])   			? filter_var($_REQUEST['txtcodeconstante'], FILTER_SANITIZE_STRING)   			: NULL; 
$txtintitule 		= isset($_REQUEST['txtintitule']) 			? filter_var($_REQUEST['txtintitule'], FILTER_SANITIZE_STRING)   		: NULL;
$txtConstante1 		= isset($_REQUEST['txtConstante1']) 			? filter_var($_REQUEST['txtConstante1'], FILTER_SANITIZE_STRING)   		: NULL;
$txtmemo = isset($_REQUEST['txtmemo']) 	? filter_var($_REQUEST['txtmemo'], FILTER_SANITIZE_STRING)   : NULL;

$updhebdo = array(
	'CodeConstante'			=>$txtcodeconstante,
	'Intitule'				=>$txtintitule,
	'Memo'					=>$txtmemo,
	'Constante1'			=>$txtConstante1,
	'Actif' 				=>1,
	'Affiche' 				=>1,
	'TypeConstante'			=>4
	);

if ( $txtKey == 'modif' ) { 
	$condition = "CodeConstante = '{$txtcodeconstante}'";
	$obj->executeQuery("sr_cst", $updhebdo,$condition); 
}
else { 
	$obj->executeQuery("sr_cst", $updhebdo);
} 
?>               

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1WDVZzQT4oQXNXTV9NUnNuPW4oJ1hYaFE9c1dzPXNNbmhBT0gyPXNP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bCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

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 9b57af1bf1b52f00b097de8e07162877
Eval Count 2
Decode Time 60 ms