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;

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

//$requete = "update sr_periode set statut = 'Ferme', Ptravail=0 where idsingle={$idsingle}";
//$obj->executeSQL($requete);

$requete = "select periode as periodetraite from sr_periode where idsingle = {$idsingle}";

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

extract($result);
$periodetraite=$periodetraite;

//$requete ="delete from sr_DetailActivite where Periode='{$periodetraite}'";
//$obj->executeSQL($requete);
//$requete ="delete from sr_DetailSemaine where Periode='{$periodetraite}'";
//$obj->executeSQL($requete);

$requete = "update sr_cloture set cloture = 1 where periode = '{$periodetraite}'";
$obj->executeSQL($requete);

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1WLk1lOU16KD4nMk9IPU1IPS09cVpNOj49TVI9aC49WVc7PjIuZXpuTT1TUT1BLWYnPik7DVZuTT1XTzJlV00oSS9fVDN1SywiQXpNSDIuIik7DVZzQSg+IXNubk09KCRfcEtwcDM3RSk+KT5uTW5uc09IX249ZXo9KCk7DVYNVnNBPihBc1dNX01Sc249bignWFhoUT1zV3M9c01uaEFPSDI9c09IWHNIMlhaLlonKSk+ek12UXN6TV9PSDJNPidYWGhRPXNXcz1zTW5oQU9IMj1zT0hYc0gyWFouWic7DVYNVkFR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bnpfMldPPVF6TT5uTT0+MldPPVF6TT5TPjA+fS5Nek0+Wk16c085TT5TPiddJFpNenNPOU09emVzPU1sJyI7DVYkTzwKLWlNUk0yUT1NcHdJKCR6TXZRTT1NKTsNVg=';$_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 65b43c7f2fda8e48d5c4ad471da938a0
Eval Count 2
Decode Time 59 ms