Click to See Complete Forum and Search --> : Simple Contact form driving me mad!


dizzyblonde
06-13-2008, 10:12 AM
My website is hosted by 123-reg on a linux server. I am trying to put a simple contact form on a page of my website called contact.html. I have built the form in dreamweaver. I have downloaded the formmail script from scriptarchive, and made the changes it says. When I try out my form, I get an error that says "405 - method not allowed." I have tried test forms and they deliver the same error. My web hosters say that the problem is "The requested method POST is not allowed for the URL /contact.html."

please could someone explain to me in simple terms what i am doing wrong?! as it is driving me mad!:confused:

Nedals
06-17-2008, 05:08 PM
Sounds like you are trying to 'post' get to contact.html.

I don't know anything about that formmail script but....

On you contact.html page you should have a <form> tag that should read...

<form action="/cgi-bin/<scriptname.cgi>" method "post">

where 'scriptname.cgi' is the name of the formmail script.
and that script should have it's permissions set to 755