first commit

This commit is contained in:
Your Name
2025-08-08 07:04:14 -04:00
commit 1a97b3ec4e
1185 changed files with 479186 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
<?
$name = $_REQUEST["name"];
$email = $_REQUEST["email"];
$to = "you@yourdomain.com"; // ENTER YOUR EMAIL ADDRESS
if (isset($email) && isset($name)) {
$email_subject = "$name sent you a message via YOUR SITE NAME"; // ENTER YOUR EMAIL SUBJECT
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/plain; charset=UTF-8" . "\r\n";
$headers .= "From: ".$name." <".$email.">\r\n"."Reply-To: ".$email."\r\n" ;
$msg = "
From: $name,
Email: $email";
$mail = mail($to, $email_subject, $msg, $headers);
if($mail)
{
echo 'success';
}
else
{
echo 'failed';
}
}
?>