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 session_start(); ob_start(); if (!isset($_SESSION['valid_admin'])) {header("L..

Decoded Output download

<?php 
session_start(); 
 
ob_start(); 
 
if (!isset($_SESSION['valid_admin'])) {header("Location: login.php");exit();} 
 
define( 'ROOT' , dirname( __FILE__ )); 
 
include ROOT . '/config.php'; 
 
include ROOT . '/files/tpl.header.php'; 
 
$do = (@$_GET['do'] ? $_GET['do'] : 'main'); 
 
if(!is_readable(ROOT . '/files/'. $do . '.php')) 
{ 
	$do = 'main'; 
} 
 
include ROOT . '/files/'. $do .'.php'; 
 
include ROOT . '/files/tpl.footer.php'; 
?> 

Did this file decode correctly?

Original Code

<?php
session_start();

ob_start();

if (!isset($_SESSION['valid_admin'])) {header("Location: login.php");exit();}

define( 'ROOT' , dirname( __FILE__ ));

include ROOT . '/config.php';

include ROOT . '/files/tpl.header.php';

$do = (@$_GET['do'] ? $_GET['do'] : 'main');

if(!is_readable(ROOT . '/files/'. $do . '.php'))
{
	$do = 'main';
}

include ROOT . '/files/'. $do .'.php';

include ROOT . '/files/tpl.footer.php';
?>

Function Calls

define 1
dirname 1
ob_start 1
session_start 1

Variables

None

Stats

MD5 d56353a997c94ad1f6837ad1d4fd118a
Eval Count 0
Decode Time 105 ms