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 //License: Free to use and provided the link to http://www.php-developer.org SHOULD..
Decoded Output download
<?php
//License: Free to use and provided the link to http://www.php-developer.org SHOULD not be removed.Thanks.
//Author:codex-m
//check if the form has been submitted
if (isset($_POST['forencrypt'])){
//form has been submitted
$phpcode=$_POST['forencrypt'];
$phpcode=stripslashes($phpcode);
//remove space
$phpcode=trim($phpcode);
//count string
$count=strlen($phpcode);
$last=$count-4;
$rest = substr($phpcode, 2, $last);
$display= substr($rest, 4);
$string= $display;
$compressed = gzdeflate($string, 9);
$encode = base64_encode($compressed);
echo "<"."?"."php";
echo '<br />';
echo '';
echo '<br />';
echo '?'.'>';
}
?>
Did this file decode correctly?
Original Code
<?php
//License: Free to use and provided the link to http://www.php-developer.org SHOULD not be removed.Thanks.
//Author:codex-m
//check if the form has been submitted
if (isset($_POST['forencrypt'])){
//form has been submitted
$phpcode=$_POST['forencrypt'];
$phpcode=stripslashes($phpcode);
//remove space
$phpcode=trim($phpcode);
//count string
$count=strlen($phpcode);
$last=$count-4;
$rest = substr($phpcode, 2, $last);
$display= substr($rest, 4);
$string= $display;
$compressed = gzdeflate($string, 9);
$encode = base64_encode($compressed);
echo "<"."?"."php";
echo '<br />';
echo '';
echo '<br />';
echo '?'.'>';
}
?>
Function Calls
| trim | 1 |
| strlen | 1 |
| substr | 2 |
| gzdeflate | 1 |
| stripslashes | 1 |
Stats
| MD5 | 6edc872d806f74b81549762ba6dc8929 |
| Eval Count | 0 |
| Decode Time | 96 ms |