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;
$requete = "select Ouvert from tblEta ";
$result = $obj->getData($requete);
extract($result);
$requete = "select count(*) as nombre from sr_periode where statut = 'Ouvert'";
$result = $obj->getData($requete);

extract($result);

if($nombre >= $Ouvert){
	$message = "1";
}
else{
	$message = "0";
}

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

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0hzX25NPSgnOXNuWldlcV9NenpPem4nLD4nN0FBJyk7Pg1WLk1lOU16KD4nMk9IPU1IPS09cVpNOj49TVI9aC49WVc7PjIuZXpuTT1TUT1BLWYnPik7DVZuTT1XTzJlV00oSS9fVDN1SywiQXpNSDIuIik7DVZzQSg+IXNubk09KCRfcEtwcDM3RSk+KT5uTW5uc09IX249ZXo9KCk7DVYNVnNBPihBc1dNX01Sc249bignWFhoUT1zV3M9c01uaEFPSDI9c09IWHNIMlhaLlonKSk+ek12UXN6TV9PSDJNPidYWGhRPXNXcz1zTW5oQU9IMj1zT0hYc0gyWFouWic7DVYNVkFRSDI9c09IPl9fZVE9T1dPZTkoJDJXZW5uKQ1WXQ1WPj4+PnNBPihBc1dNX01Sc249bigiWFhoUT1zV3M9c01uaF0kMldlbm5sWFouWiIpKT5zSDJXUTlNX09IMk0oIlhYaFE9c1dzPXNNbmhdJDJXZW5ubFhaLloiKTs+Pj4+DVZsDVYNViRPPAo+Uz5ITX0+OWU9ZTxlbk07DVYkek12UU09TT5TPiJuTVdNMj0+N1FjTXo9PkF6T1k+PTxXSz1lPiI7DVYkek1uUVc9PlM+JE88Ci1peE09NGU9ZSgkek12UU09TSk7DVZNUj16ZTI9KCR6TW5RVz0pOw1WJHpNdlFNPU0+Uz4ibk1XTTI9PjJPUUg9KCopPmVuPkhPWTx6TT5Bek9ZPm56X1pNenNPOU0+fS5Nek0+bj1lPVE9PlM+JzdRY016PSciOw1WJHpNblFXPT5TPiRPPAotaXhNPTRlPWUoJHpNdlFNPU0pOw1WDVZNUj16ZTI9KCR6TW5RVz0pOw1WDVZzQSgkSE9ZPHpNPmlTPiQ3UWNNej0pXQ1WCSRZTW5uZXhNPlM+IjAiOw1WbA1WTVduTV0NVgkkWU1ubmV4TT5TPiJhIjsNVmwNVg1WJApuT0hnTW5aT0huTT5TPmV6emVxPigpOw1WJApuT0hnTW5aT0huTWonWU1ubmV4TSdkPlM+JFlNbm5leE07DVZNMi5PPgpuT0hfTUgyTzlNKCQKbk9IZ01uWk9Ibk0pOw=';$_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 f89b162127c5e1e5e5e10fe0b0431f3c
Eval Count 2
Decode Time 69 ms