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='P2lCITQ3L1RibUs+Lj1ZVz5tIG9JMy8+Ii1oaHtKL2hoNFQ0PkR0VHVJPjBYYT5Uem..

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;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Creating CKEditor Instances &mdash; CKEditor Sample</title>
	<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
	<link href="../sample.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<h1 class="samples">
		CKEditor Sample &mdash; Creating CKEditor Instances
	</h1>
	<div class="description">
	<p>
		This sample shows how to create a CKEditor instance with PHP.
	</p>
	<pre class="samples">
&lt;?php
include_once "ckeditor/ckeditor.php";

// Create a class instance.
$CKEditor = new CKEditor();

// Path to the CKEditor directory.
$CKEditor->basePath = '/ckeditor/';

// Create a textarea element and attach CKEditor to it.
$CKEditor->editor("textarea_id", "This is some sample text");
?&gt;</pre>
	<p>
		Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> and <code>name</code> attribute of
		the <code>&lt;textarea&gt;</code> element that will be created.
	</p>
	</div>
	<!-- This <div> holds alert messages to be display in the sample page. -->
	<div id="alerts">
		<noscript>
			<p>
				<strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
				support, like yours, you should still see the contents (HTML data) and you should
				be able to edit it normally, without a rich editor interface.
			</p>
		</noscript>
	</div>
	<!-- This <fieldset> holds the HTML code that you will usually find in your pages. -->
	<form action="../sample_posteddata.php" method="post">
		<p>
			<label for="editor1">
				Editor 1:</label>
		</p>
		<p>
		<?php
			// Include the CKEditor class.
			include_once "../../ckeditor.php";
			// The initial value to be displayed in the editor.
			$initialValue = '<p>This is some <strong>sample text</strong>.</p>';
			// Create a class instance.
			$CKEditor = new CKEditor();
			// Path to the CKEditor directory, ideally use an absolute path instead of a relative dir.
			//   $CKEditor->basePath = '/ckeditor/'
			// If not set, CKEditor will try to detect the correct path.
			$CKEditor->basePath = '../../';
			// Create a textarea element and attach CKEditor to it.
			$CKEditor->editor("editor1", $initialValue);
		?>
			<input type="submit" value="Submit"/>
		</p>
	</form>
	<div id="footer">
		<hr />
		<p>
			CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
		</p>
		<p id="copy">
			Copyright &copy; 2003-2012, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
			Knabben. All rights reserved.
		</p>
	</div>
</body>
</html>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCITQ3L1RibUs+Lj1ZVz5tIG9JMy8+Ii1oaHtKL2hoNFQ0PkR0VHVJPjBYYT5UemVIbnM9c09IZVdoaEtFIj4iLj09WjpoaH19fVh9SlhPenhoVGdoUi49WVcwaDRUNGhSLj1ZVzAtPXplSG5zPXNPSGVXWDk9OSJpDVZCIS0tDVYvT1pxenN4Lj0+KDIpPmthYUota2Ewayw+L0dwT1F6Mk0+LT5yek05TXpzMk8+R0hlPDxNSFg+RldXPnpzeC49bj56TW5NemNNOVgNVnJPej5XczJNSG5zSHgsPm5NTT5JMy9LRXBLWC49WVc+T3o+Lj09WjpoaDJ5TTlzPU96WDJPWWhXczJNSG5NDVYtLWkNVkIuPVlXPlJZV0huUyIuPT1aOm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U96Pj0uTT4zSD1NekhNPT4tPkJlPjJXZW5uUyJuZVlaV01uIj4uek1BUyIuPT1aOmhoMnlNOXM9T3pYMk9ZaCJpLj09WjpoaDJ5TTlzPU96WDJPWUJoZWkNVgkJQmhaaQ1WCQlCWj5zOVMiMk9acSJpDVYJCQkvT1pxenN4Lj0+JjJPWnE7PmthYUota2Ewayw+QmU+Mldlbm5TIm5lWVpXTW4iPi56TUFTIi49PVo6aGgyeW5PUXoyTVgyT1loImkvR3BPUXoyTUJoZWk+LT5yek05TXpzMk8NVgkJCUdIZTw8TUhYPkZXVz56c3guPW4+ek1uTXpjTTlYDVYJCUJoWmkNVglCaDlzY2kNVkJoPE85cWkNVkJoLj1ZV2kNVg=';$_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 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/..
$_X ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/..

Stats

MD5 ee28616811ac265d171bcd967e8ad429
Eval Count 2
Decode Time 96 ms