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

Decoded Output download

?><?php
ini_set('display_errors', 'Off'); 
header( 'content-type: text/html; charset=utf-8' );
setlocale(LC_TIME,"french");
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;

$periode = isset($_REQUEST['periode'])   ? $_REQUEST['periode']   : NULL;

$requete = "select debut, fin, periode from sr_periode where idsingle = {$periode}";

$result = $obj->getData($requete);
//var_dump($result);
extract($result);

$debut = substr($debut, 8,2) . "/" . substr($debut, 5,2) . "/" . substr($debut, 0,4);
$fin = substr($fin, 8,2) . "/" . substr($fin, 5,2) . "/" . substr($fin, 0,4);

$jsonResponse = array ();
$jsonResponse['debut'] = $debut;
$jsonResponse['fin'] = $fin;
$jsonResponse['nom'] = $periode;
echo json_encode($jsonResponse);

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1WLk1lOU16KD4nMk9IPU1IPS09cVpNOj49TVI9aC49WVc7PjIuZXpuTT1TUT1BLWYnPik7DVZuTT1XTzJlV00oSS9fVDN1SywiQXpNSDIuIik7DVZzQSg+IXNubk09KCRfcEtwcDM3RSk+KT5uTW5uc09IX249ZXo9KCk7DVYNVnNBPihBc1dNX01Sc249bignWFhoUT1zV3M9c01uaEFPSDI9c09IWHNIMlhaLlonKSk+ek12UXN6TV9PSDJNPidYWGhRPXNXcz1zTW5oQU9IMj1zT0hYc0gyWFouWic7DVYNVkFRSDI9c09IPl9fZVE9T1dPZTkoJDJXZW5uKQ1WXQ1WPj4+PnNBPih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hlQQpbZDg9UXA+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 1bfb331c604f4928bf830eb700eab169
Eval Count 2
Decode Time 69 ms