PHP/html send button 504 error

I’m creating a website where users fill out a contact form and click send. It is supposed to email me and redirect them to a thank you page.

I’m getting this error:

405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.

I either have a problem on the button side or the php side, but most likely both. I need to tell my send button to go to the php file and then I need the php file to email me and then redirect them to the thank you page.

Here’s what my send button looks like:

My php file is called result.php and this is what it looks like (I am using Dreamweaver cs6):

DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

Untitled Document

RBI logo

Thank You for Your Submission

Your information has been sent. Your business is very important to us. We will get back to you as soon as possible.

Again, thank you for your interest in RBI Color Control!

Home

What web server are you using? This is usually caused by not having the right settings for the correct handler mappings.

Godaddy. I’m quite certain somewhere in there I am pointing to the wrong place, I just don’t know code well enough to know where to point and how.

Godaddy, is a hosting company not a web server…

You’re using apache, tomcat, iis, etc.

I ended up deleting the php and using google forms. Thanks for trying to help!

Sponsor our Newsletter | Privacy Policy | Terms of Service