+ 6
How 'contact us' works?And what is '405 not allowed'? How i solve this.
I will make a contact us form. but when I run it. browser dislplay '405 not allowed'. this is my website "www.contact646.cf".
2 Respostas
+ 5
My back end is this.
<?php
$name= $POST['name'];
$visitor_email= $_POST['email'];
$message= $_POST['message'];
$email_from= 'anonymousp0646@gmail.com';
$email_subject= "new form submission";
$email_body= "user name: $name\n".
"user email: $visitor_email.\n".
"user message: $message.\n";
$to = "anonymousp0646@gmail.com";
$headers = "form: $email_from\r\n";
$headers = "reply-to: $visitor_email \r\n";
mail($to,$email_subject,$email_body,$headers);
header("location: index.html");
?>
+ 3
what's your back-ends?