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='P2lCP1ouWg1WCXNIc19uTT0oJzlzblpXZXFfTXp6T3puJyw+JzdBQScpOz4NVgkuTW..

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;

	if (file_exists('../utilities/gestionacces.php')) include_once('../utilities/gestionacces.php');
	$idsingle = $_REQUEST['idsingle'];
	$periode = $_REQUEST['periode'];
	$htrav = $_REQUEST['htrav'];
	$e1 = $_REQUEST['e1'];
	$s1 = $_REQUEST['s1'];
	$e2 = $_REQUEST['e2'];
	$s2 = $_REQUEST['s2'];
	$e3 = $_REQUEST['e3'];
	$s3 = $_REQUEST['s3'];
	$e4 = $_REQUEST['e4'];
	$s4 = $_REQUEST['s4'];


	if(trimUltime($e1) != ''){
		$e1 = $periode . " " . $e1;
	}
	else{
		$e1 = null;
	}
	if(trimUltime($s1) != ''){
		$s1 = $periode . " " . $s1;
	}else{
		$s1 = null;
	}
	
	if(trimUltime($e2) != ''){
		$e2 = $periode . " " . $e2;
	}
	else{
		$e2 = null;
	}
	if(trimUltime($s2) != ''){
		$s2 = $periode . " " . $s2;
	}else{
		$s2 = null;
	}
	
	if(trimUltime($e3) != ''){
		$e3 = $periode . " " . $e3;
	}
	else{
		$e3 = null;
	}
	if(trimUltime($s3) != ''){
		$s3 = $periode . " " . $s3;
	}else{
		$s3 = null;
	}
	

	if(trimUltime($e4) != ''){
		$e4 = $periode . " " . $e4;
	}
	else{
		$e4 = null;
	}
	if(trimUltime($s4) != ''){
		$s4 = $periode . " " . $s4;
	}else{
		$s4 = null;
	}
	
	$arrayModif = array(
	  'periode' => $periode,
	  'htrav' => $htrav,
	  'e1' => $e1,
	  's1' => $s1,
	  'e2' => $e2,
	  's2' => $s2,
	  'e3' => $e3,
	  's3' => $s3,
	  'e4' => $e4,
	  's4' => $s4
	);

	$condition = "idsingle = {$idsingle}";

	$table = "sr_periodeEnCours";
	$obj->executeQuery($table,$arrayModif,$condition);
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1WCXNIc19uTT0oJzlzblpXZXFfTXp6T3puJyw+JzdBQScpOz4NVgkuTWU5TXooPicyT0g9TUg9LT1xWk06Pj1NUj1oLj1ZVzs+Mi5lem5NPVNRPUEtZic+KTsNVgluTT1XTzJlV00oSS9fVDN1SywiQXpNSDIuIik7DVYJc0EoPiFzbm5NPSgkX3BLcHAzN0UpPik+bk1ubnNPSF9uPWV6PSgpOw1WDVYJc0E+KEFzV01fTVJzbj1uKCdYWGhRPXNXcz1zTW5oQU9IMj1zT0hYc0gyWFouWicpKT56TXZRc3pNX09IMk0+J1hYaFE9c1dzPXNNbmhBT0gyPXNPSFhzSDJYWi5aJzsNVg1WCUFRSDI9c09IPl9fZVE9T1dPZTkoJDJXZW5uKQ1WCV0NVgk+Pj4+c0E+KEFzV01fTVJzbj1uKCJYWGhRPXNXcz1zTW5oXSQyV2VubmxYWi5aIikpPnNIMldROU1fT0gyTSgiWFhoUT1zV3M9c01uaF0kMldlbm5sWFouWiIpOz4+Pj4NVglsDVYNVgkkTzwKPlM+SE19PjllPWU8ZW5NOw1WDVYJc0E+KEFzV01fTVJzbj1uKCdYWGhRPXNXcz1zTW5oeE1uPXNPSGUyMk1uWFouWicpKT5zSDJXUTlNX09IMk0oJ1hYaFE9c1dzPXNNbmh4TW49c09IZTIyTW5YWi5aJyk7DVYJJHM5bnNIeFdNPlM+JF9nS3cgS3BUaidzOW5zSHhXTSdkOw1WCSRaTXpzTzlNPlM+JF9nS3cgS3BUaidaTXpzTzlNJ2Q7DVYJJC49emVjPlM+JF9nS3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calls

strtr 1
strrev 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R 0
$_X 0

Stats

MD5 f7bf59b198de6765965f6bcc703041c8
Eval Count 2
Decode Time 68 ms