+ 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".

18th Sep 2018, 10:03 AM
Pawan Kumar
Pawan Kumar - avatar
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"); ?>
18th Sep 2018, 12:14 PM
Pawan Kumar
Pawan Kumar - avatar
+ 3
what's your back-ends?
18th Sep 2018, 10:24 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar