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 if(!function_exists("phtmldec")) {$w=(substr(PHP_OS,0,3)=="WIN")?1:0;$ln="phtmlenc"...

Decoded Output download

<?php if(!function_exists("phtmldec")) {$w=(substr(PHP_OS,0,3)=="WIN")?1:0;$ln="phtmlenc".phpversion();$cd=dirname(__FILE__);if($w){$ln=$ln.".dll";if($cd[1]==":") $cd=substr($cd,2);}else{$ln=$ln.".so";if(strlen($cd)<3) $cd=getcwd();}if(version_compare(phpversion(),"5.2.5")==-1){$cd1=ini_get('extension_dir');$cd2=PHP_EXTENSION_DIR;if($cd[strlen($cd)-1]!="/")$cd=$cd."/";if($cd1[strlen($cd1)-1]!="/")$cd1=$cd1."/";if($cd2[strlen($cd2)-1]!="/")$cd2=$cd2."/";if($cd1[1]==":") $cd1=substr($cd1,2);if($cd2[1]==":") $cd2=substr($cd2,2);$ic=substr_count($cd,"\")+substr_count($cd,"/");$ic1=substr_count($cd1,"\")+substr_count($cd1,"/");$ic2=substr_count($cd2,"\")+substr_count($cd2,"/");$en=str_repeat("../",max($ic,$ic1,$ic2))."..".$cd.$ln;}else $en=$ln;$r=dl($en);if(!$r)exit("Unable to load $en");}$p=">4\$A016YCB,:N.T1>7H%82L5HW6GI/JQ\_URR,]K/ 
";phtmldec($p);?>

Did this file decode correctly?

Original Code

<?php if(!function_exists("phtmldec")) {$w=(substr(PHP_OS,0,3)=="WIN")?1:0;$ln="phtmlenc".phpversion();$cd=dirname(__FILE__);if($w){$ln=$ln.".dll";if($cd[1]==":") $cd=substr($cd,2);}else{$ln=$ln.".so";if(strlen($cd)<3) $cd=getcwd();}if(version_compare(phpversion(),"5.2.5")==-1){$cd1=ini_get('extension_dir');$cd2=PHP_EXTENSION_DIR;if($cd[strlen($cd)-1]!="/")$cd=$cd."/";if($cd1[strlen($cd1)-1]!="/")$cd1=$cd1."/";if($cd2[strlen($cd2)-1]!="/")$cd2=$cd2."/";if($cd1[1]==":") $cd1=substr($cd1,2);if($cd2[1]==":") $cd2=substr($cd2,2);$ic=substr_count($cd,"\\")+substr_count($cd,"/");$ic1=substr_count($cd1,"\\")+substr_count($cd1,"/");$ic2=substr_count($cd2,"\\")+substr_count($cd2,"/");$en=str_repeat("../",max($ic,$ic1,$ic2))."..".$cd.$ln;}else $en=$ln;$r=dl($en);if(!$r)exit("Unable to load $en");}$p=">4\$A016YCB,:N.T1>7H%82L5HW6GI/JQ\\_URR,]K/
";phtmldec($p);?>

Function Calls

phtmldec 1
function_exists 1

Variables

$p >4\$A016YCB,:N.T1>7H%82L5HW6GI/JQ\_URR,]K/

Stats

MD5 40e7ad3f6e78386b6fd4544955fd4f0c
Eval Count 0
Decode Time 106 ms