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 function xTextEncode($pain_text = ""){ $crypt = array("A"=>"065","a"=>"097","B"=>"..

Decoded Output download

<?php 
function xTextEncode($pain_text = ""){ 
$crypt = array("A"=>"065","a"=>"097","B"=>"066","b"=>"098","C"=>"067","c"=>"099","D"=>"068","d"=>"100","E"=>"069","e"=>"101","F"=>"070","f"=>"102","G"=>"071","g"=>"103","H"=>"072","h"=>"104","I"=>"073","i"=>"105","J"=>"074","j"=>"106","K"=>"075","k"=>"107","L"=>"076","l"=>"108","M"=>"077","m"=>"109","N"=>"078","n"=>"110","O"=>"079","o"=>"111","P"=>"080","p"=>"112","Q"=>"081","q"=>"113","R"=>"082","r"=>"114","S"=>"083","s"=>"115","T"=>"084","t"=>"116","U"=>"085","u"=>"117","V"=>"086","v"=>"118","W"=>"087","w"=>"119","X"=>"088","x"=>"120","Y"=>"089","y"=>"121","Z"=>"090","z"=>"122","0"=>"048","1"=>"049","2"=>"050","3"=>"051","4"=>"052","5"=>"053","6"=>"054","7"=>"055","8"=>"056","9"=>"057","&"=>"038"," "=>"032","_"=>"095","-"=>"045","@"=>"064","."=>"046"); 
$crypted_css = ""; 
for ($i=0; $i < strlen($pain_text); $i++) { 
$y=substr($pain_text,$i,1); 
	if (array_key_exists($y,$crypt)) { 
		$rand1 = rand(1,3); 
		if ($rand1 == '2') { 
			$crypted_css = $crypted_css.$y; 
		}else{ 
			$crypted_css = $crypted_css."&#".$crypt[$y].";"; 
		} 
	}else{ 
		$crypted_css = $crypted_css.$y; 
	} 
} 
return $crypted_css; 
} 
?> 

Did this file decode correctly?

Original Code

<?php
function xTextEncode($pain_text = ""){
$crypt = array("A"=>"065","a"=>"097","B"=>"066","b"=>"098","C"=>"067","c"=>"099","D"=>"068","d"=>"100","E"=>"069","e"=>"101","F"=>"070","f"=>"102","G"=>"071","g"=>"103","H"=>"072","h"=>"104","I"=>"073","i"=>"105","J"=>"074","j"=>"106","K"=>"075","k"=>"107","L"=>"076","l"=>"108","M"=>"077","m"=>"109","N"=>"078","n"=>"110","O"=>"079","o"=>"111","P"=>"080","p"=>"112","Q"=>"081","q"=>"113","R"=>"082","r"=>"114","S"=>"083","s"=>"115","T"=>"084","t"=>"116","U"=>"085","u"=>"117","V"=>"086","v"=>"118","W"=>"087","w"=>"119","X"=>"088","x"=>"120","Y"=>"089","y"=>"121","Z"=>"090","z"=>"122","0"=>"048","1"=>"049","2"=>"050","3"=>"051","4"=>"052","5"=>"053","6"=>"054","7"=>"055","8"=>"056","9"=>"057","&"=>"038"," "=>"032","_"=>"095","-"=>"045","@"=>"064","."=>"046");
$crypted_css = "";
for ($i=0; $i < strlen($pain_text); $i++) {
$y=substr($pain_text,$i,1);
	if (array_key_exists($y,$crypt)) {
		$rand1 = rand(1,3);
		if ($rand1 == '2') {
			$crypted_css = $crypted_css.$y;
		}else{
			$crypted_css = $crypted_css."&#".$crypt[$y].";";
		}
	}else{
		$crypted_css = $crypted_css.$y;
	}
}
return $crypted_css;
}
?>

Function Calls

None

Variables

None

Stats

MD5 e9346f22ca4bd1d3e868c556aa62e4d3
Eval Count 0
Decode Time 101 ms