Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> </title> <meta http-eq..

Decoded Output download

<!DOCTYPE html> 
<html> 
<head> 
<meta charset="UTF-8"> 
<title>   </title> 
<meta http-equiv="Refresh" content="4; URL=http://index.html/">  
</head> 
<body> 
 
<?php  
 
$sendto   = "[email protected]"; // ,      
$username = $_POST['name'];   //        c  
$usertel = $_POST['telephone']; //        c   
$usermail = $_POST['email']; //        c    
 
//    
$subject  = " "; 
$headers  = "From: " . strip_tags($usermail) . "
"; 
$headers .= "Reply-To: ". strip_tags($usermail) . "
"; 
$headers .= "MIME-Version: 1.0
"; 
$headers .= "Content-Type: text/html;charset=utf-8 
"; 
 
//    
$msg  = "<html><body style='font-family:Arial,sans-serif;'>"; 
$msg .= "<h2 style='font-weight:bold;border-bottom:1px dotted #ccc;'>C  </h2>
"; 
$msg .= "<p><strong> :</strong> ".$username."</p>
"; 
$msg .= "<p><strong>:</strong> ".$usermail."</p>
"; 
$msg .= "<p><strong>:</strong> ".$usertel."</p>
"; 
$msg .= "</body></html>"; 
 
//   
if(@mail($sendto, $subject, $msg, $headers)) { 
	echo "<center><img src='images/spasibo.png'></center>"; 
} else { 
	echo "<center><img src='images/ne-otpravleno.png'></center>"; 
} 
 
?> 
 
</body> 
</html>

Did this file decode correctly?

Original Code

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>   </title>
<meta http-equiv="Refresh" content="4; URL=http://index.html/"> 
</head>
<body>

<?php 

$sendto   = "[email protected]"; // ,     
$username = $_POST['name'];   //        c 
$usertel = $_POST['telephone']; //        c  
$usermail = $_POST['email']; //        c   

//   
$subject  = " ";
$headers  = "From: " . strip_tags($usermail) . "\r\n";
$headers .= "Reply-To: ". strip_tags($usermail) . "\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html;charset=utf-8 \r\n";

//   
$msg  = "<html><body style='font-family:Arial,sans-serif;'>";
$msg .= "<h2 style='font-weight:bold;border-bottom:1px dotted #ccc;'>C  </h2>\r\n";
$msg .= "<p><strong> :</strong> ".$username."</p>\r\n";
$msg .= "<p><strong>:</strong> ".$usermail."</p>\r\n";
$msg .= "<p><strong>:</strong> ".$usertel."</p>\r\n";
$msg .= "</body></html>";

//  
if(@mail($sendto, $subject, $msg, $headers)) {
	echo "<center><img src='images/spasibo.png'></center>";
} else {
	echo "<center><img src='images/ne-otpravleno.png'></center>";
}

?>

</body>
</html>

Function Calls

strip_tags 1

Variables

$sendto [email protected]
$subject
$usertel None
$usermail None
$username None

Stats

MD5 f5dabdb98336c0365279d500a0c5da7b
Eval Count 0
Decode Time 97 ms