Forum Moderators: coopster & phranque

Message Too Old, No Replies

Problem with sendmail form using FormMail.pl

I get an error when testing the form on a site I've created.

         

iainbunt

3:50 pm on Apr 23, 2008 (gmt 0)

10+ Year Member



I've created a form on a site I've been doing, but when you submit the form the following message comes up:

"Method Not Allowed
The requested method POST is not allowed for the URL /cgi-bin/FormMail.pl."

I've checked the code at the start of my form and that on the FormMail.pl script and they match what I've used on a previous (successful site). Has anyone any suggestions what's wrong?

Iain

SteveWh

2:00 pm on May 16, 2008 (gmt 0)

10+ Year Member



To help others who have the same problem later, what was the resolution?

FormMail itself provides no capability to do input validation of that type. Adding it would require modifying the Perl code (not recommended).
Otherwise, you'd have to do it client-side with JavaScript.

iainbunt

2:16 pm on May 16, 2008 (gmt 0)

10+ Year Member



I ended up changing the script being used rejecting the formmail.pl script all together. I also asked the host to reset the scripts on the site at one point which is when my error message changed.

phranque

4:57 am on May 17, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



comparing input parameter values would be simple in javascript.

reset the scripts on the site

reset the permissions? ownership?

iainbunt

8:33 am on May 26, 2008 (gmt 0)

10+ Year Member



I had a conversation with them where they suggested they could reset the CGI (sorry shul've specified that instead of using the term scripts) whether that was the ownership or permissions I'm not 100% clear.

IanKelley

8:28 pm on May 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Glad to hear they were willing to work with you, and that you've got things up and running now.
This 35 message thread spans 2 pages: 35