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='P2lCP1ouWj5zQT4oIT45TUFzSE05KCdvRnBLbUZUdCcpKT5NUnM9KCdFTz45c3pNMj..

Decoded Output download

$_X=base64_decode($_X);$_X=strtr($_X,'SgPO9YZWFKmqyfxcjLJRzuM5vNts1b.{B4nC]i/2Dl0EheA
[d8=Qp>VXo H}6GIw7ka3TrU<','=R9odmplAEPyk8gv[53xrMezqZHi7YhW<DsG{>CcX}1N/afj6]JtuS 
.BUnwVKLQO20ITF4b');$_R=str_replace('__FILE__',"'".$_F."'",$_X);eval($_R);$_R=0;$_X=0;?><?php if (! defined('BASEPATH')) exit('No direct script access allowed');

class EmailHeader extends App_DataMapper {
	var $table = 'emailheaders';

	var $has_many = array('emailer');

	public function __construct($id = NULL) {
		$this->defaults = array(
			'can_delete' => 1);

		$this->validation = array(
			'header' => array(
			'rules' => array('required')),

			'value' => array(
			'rules' => array('required')));

		parent::__construct($id);
	} // function

	public function defs() {
		$result = array();

		$this
			->select('id, header')
			->order_by('header')
			->get();

		foreach($this as $this_obj) {
			$result[$this_obj->id] = app_safe_html(app_shorten($this_obj->header));
		} // function

		return $result;
	} // function
} // class

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWj5zQT4oIT45TUFzSE05KCdvRnBLbUZUdCcpKT5NUnM9KCdFTz45c3pNMj0+bjJ6c1o9PmUyMk1ubj5lV1dPfU05Jyk7DVYNVjJXZW5uPktZZXNXdE1lOU16Pk1SPU1IOW4+RlpaXzRlPWV1ZVpaTXo+XQ1WCWNlej4kPWU8V00+Uz4nTVllc1cuTWU5TXpuJzsNVg1WCWNlej4kLmVuX1llSHE+Uz5lenplcSgnTVllc1dNeicpOw1WDVYJWlE8V3MyPkFRSDI9c09IPl9fMk9Ibj16UTI9KCRzOT5TPkUgSUkpPl0NVgkJJD0uc24taTlNQWVRVz1uPlM+ZXp6ZXEoDV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Function Calls

strtr 1
strrev 1
defined 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R ?><?php if (! defined('BASEPATH')) exit('No direct script ac..
$_X ?><?php if (! defined('BASEPATH')) exit('No direct script ac..

Stats

MD5 8c6f641e8a11a118d475a1dc2aa4764d
Eval Count 2
Decode Time 113 ms