Uname: Linux server.saraya-global.com 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Tue Sep 30 05:56:43 EDT 2025 x86_64
User: 1003 (sarayaglobal)
Group: 1004 (sarayaglobal)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/sarayaglobal/worldwide.saraya.com/php      ( Reset | Go to )
File Name: mailer.joinus.php
<?php

     
    
// EDIT THE BELOW TWO LINES AS REQUIRED
    
$email_to "your@emailid.com";
    
$email_subject "Your email subject - Join us";
     
     
    function 
errorMesg() {
        
// Error code can go here
        
echo "We are very sorry, but there were error(s) found with the form you submitted. ";
        echo 
"<br /><br />";
        echo 
"Please go back and fix these errors.<br /><br />";
        die();
    }
     
    
// validation expected data exists
    
if(!isset($_POST['joinus_email'])) {
        
errorMesg();       
    }

    
$email_from $_POST['joinus_email']; // required
     
    
function clean_string($string) {
      
$bad = array("content-type","bcc:","to:","cc:","href");
      return 
str_replace($bad,"",$string);
    }

    
$email_message .= "Email: ".clean_string($email_from)."\n";
     
     
// create email headers
$headers 'From: '.$email_from."\r\n".
'Reply-To: '.$email_from."\r\n" .
'X-Mailer: PHP/' phpversion();
@
mail($email_to$email_subject$email_message$headers);  
?>

<?php

?>

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL