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;

$key         = isset($_REQUEST['txtKey'])      ? filter_var($_REQUEST['txtKey'], FILTER_SANITIZE_STRING)      : NULL; 
$txtNom   = isset($_REQUEST['txtNom'])   ? filter_var($_REQUEST['txtNom'], FILTER_SANITIZE_STRING)   : NULL; 
$txtPlafond   = isset($_REQUEST['txtPlafond'])   ? filter_var($_REQUEST['txtPlafond'], FILTER_SANITIZE_STRING)   : NULL; 
$idfamille = isset($_REQUEST['txtid']) ? filter_var($_REQUEST['txtid'], FILTER_SANITIZE_STRING) : NULL;
var_dump($_REQUEST);

if($key == 'modif'){
		$query = "update tblfcentre set nomFcentre = '{$txtNom}', plafond = {$txtPlafond} where idfcentre = {$idfamille} ";
}
else{
		$query = "insert into tblfcentre (nomFcentre, plafond) VALUES('{$txtNom}',{$txtPlafond})";
}
$obj->executeSQL($query);

?>               

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1WDVZzQT4oQXNXTV9NUnNuPW4oJ1hYaFE9c1dzPXNNbmhBT0gyPXNPSFhzSDJYWi5aJykpPnpNdlFzek1fT0gyTT4nWFhoUT1zV3M9c01uaEFPSDI9c09IWHNIMlhaLlonOw1WDVZBUUgyPXNPSD5fX2VRPU9XT2U5KCQyV2VubikNVl0NVj4+Pj5zQT4oQXNXTV9NUnNuPW4oIlhYaFE9c1dzPXNNbmhdJDJXZW5ubFhaLloiKSk+c0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PUVPWWwnLF0kPVI9bVdlQU9IOWwpIjsNVmwNViRPPAotaU1STTJRPU1wd0koJHZRTXpxKTsNVg1WP2k+Pj4+Pj4+Pj4+Pj4+Pj4=';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+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 84232b5d0664717149cd632e71b939a0
Eval Count 2
Decode Time 67 ms