Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 08:54:59 PM

Pages: [1]   Go Down
  Print  
Author Topic: Error message on Form Submit (to email)  (Read 947 times)
ROLEP0
Newbie
*
Offline Offline

Posts: 5


« on: May 01, 2009, 08:39:06 AM »

I have a form on my About Us page--when yuou hit submit it should send info/ comments to my email address. Instead this error comes up.

The requested method GET is not allowed for the URL /about_us.html.

What needs to be done? Is my email not linked?

 www.roleplayersgroup.com
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #1 on: May 01, 2009, 08:50:07 AM »

I see your form is
Code:
<form name="form1" method="post" action="">

You have no action defined, so AFAIK it will just send the form data back to this page (about_us.html). Dunno why it says "GET" method.

I think action="mailto:myaddress@mysite.com" enctype="text/plain" will work, if raw form data is what you want to receive. If you want it "prettied up" first, submit it to a PHP or Perl script, which can then email it on to you.
Logged

ROLEP0
Newbie
*
Offline Offline

Posts: 5


« Reply #2 on: May 01, 2009, 09:06:21 AM »

Thank you that worked!!
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: