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();

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']) ? $_REQUEST['Code'] : NULL;
$message = '';
$table   = "sr_categorie";

$reqNbNat = "SELECT COUNT(*) as nbNat FROM {$table} WHERE Code = '{$Code}'"; 
$sttNbNat = $obj->getData($reqNbNat); 
$nbNat    = $sttNbNat['nbNat']; 

if ( $nbNat > 0) $message = "Ce code existe d&eacute;j&agrave;";

$jsonResponse = array ();
$jsonResponse['message'] = $message;
echo json_encode($jsonResponse);
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1Wc0EoPiFzbm5NPSgkX3BLcHAzN0UpPik+bk1ubnNPSF9uPWV6PSgpOw1WDVZ6TXZRc3pNX09IMk0+J1hYaFE9c1dzPXNNbmhBT0gyPXNPSFhzSDJYWi5aJzsNVg1WQVFIMj1zT0g+X19lUT1PV09lOSgkMldlbm4pDVZdDVY+Pj4+c0E+KEFzV01fTVJzbj1uKCdYWGhRPXNXcz1zTW5oJz5YPiQyV2Vubj5YPidYWi5aJykpPnNIMldROU1fT0gyTSgnWFhoUT1zV3M9c01uaCc+WD4kMldlbm4+WD4nWFouWicpOz4+Pj4NVmwNVg1WJE88Cj4+Pj4+Uz5ITX0+OWU9ZTxlbk07DVYkL085TT4+Uz5zbm5NPSgkX2dLdyBLcFRqJy9POU0nZCk+Pz4kX2dLdyBLcFRqJy9POU0nZD46PkUgSUk7DVYkWU1ubmV4TT5TPicnOw1WJD1lPFdNPj4+Uz4ibnpfMmU9TXhPenNNIjsNVg1WJHpNdkU8RWU9PlM+InBLSUsvVD4vNyBFVCgqKT5lbj5IPEVlPT5yZzd1Pl0kPWU8V01sPnt0S2dLPi9POU0+Uz4nXSQvTzlNbCciOz4NViRuPT1FPEVlPT5TPiRPPAotaXhNPTRlPWUoJHpNdkU8RWU9KTs+DVYkSDxFZT0+Pj4+Uz4kbj09RTxFZT1qJ0g8RWU9J2Q7Pg1WDVZzQT4oPiRIPEVlPT5pPmEpPiRZTW5uZXhNPlM+Ii9NPjJPOU0+TVJzbj1NPjkmTWUyUT1NOwomZXh6ZWNNOyI7DVYNViQKbk9IZ01uWk9Ibk0+Uz5lenplcT4oKTsNViQKbk9IZ01uWk9Ibk1qJ1lNbm5leE0nZD5TPiRZTW5uZXhNOw1WTTIuTz4Kbk9IX01IMk85TSgkCm5PSGdNblpPSG5NKTsNVj9pDVY=';$_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 e07d58b616d1863b2210011cfbd7c18a
Eval Count 2
Decode Time 64 ms