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);
$recuperiode = $result['periode'];
//var_dump($result);

extract($result);


$debut = date_create(str_replace("/", "-", $debut));
$fin   = date_create(str_replace("/", "-", $fin));

$dDebut = date_format($debut,"d/m/Y");
$dFin = date_format($fin,"d/m/Y");

$debut = date_format($debut, "m/d/Y");
    //echo "datedebut = ".$dateDebut;
$fin  = date_format($fin, "m/d/Y");

//var_dump($debut);
$date1 = strtotime($debut);
$date2 = strtotime($fin);
$d1  = date("d/m/Y",$date1);
$d2  = date("d/m/Y",$date2);
$req_preview=mssql_init("DeleteJournalier");
mssql_bin($req_preview,"@d1",$d1);
mssql_bin($req_preview,"@d2",$d2);
$result=mssql_query($req_preview);

for ($j=$date1  ; $j <= $date2  ; $j += 3600 * 24) { 
		$d1  = date("d/m/Y",$j);
		//var_dump($d1);
		$num_sem = date("W",$j);
		

}
				

$message = "1";
$jsonResponse = array ();
$jsonResponse['message'] = $message;
echo json_encode($jsonResponse);

?>

Did this file decode correctly?

Original Code

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

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 996198991bf17f7477a0699f4145874d
Eval Count 2
Decode Time 101 ms