| Coding Forum Problems with your code? Let's hear about it. |
07-04-2004, 09:54 AM
|
#1 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 2,935
|
method not allowed
Why would "method post" not be allowed from a specific url? I can post from one part of the site (ex. forms/form1.html), but when I try it from /contact/contactform.html I get the message
#############################################
METHOD NOT ALLOWED
The method post is not allowed from the url /contact/contact_form.html
##############################################
What typically would cause that?
|
|
|
07-04-2004, 09:59 AM
|
#2 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
Can you post a link or the code you are using?
|
|
|
07-04-2004, 10:04 AM
|
#3 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 2,935
|
http://www.amgsouth.com/contact/form1.html
Yeah, it's a template, but I'm in a hurry...I'll redo it later.
I'm using the standard php Form script standard in Cpanel. I've used it many times before but never had this happen.
|
|
|
07-04-2004, 10:28 AM
|
#4 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
You need to put something there.
|
|
|
07-04-2004, 12:25 PM
|
#5 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 2,935
|
I've already got
<form enctype='multipart/form-data' action='/forms/process.php' method='post'>
|
|
|
07-04-2004, 12:34 PM
|
#6 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
OK. That wasn't there when I looked.
Are you sure that is the correct path?
Exactly where is the process.php located?
|
|
|
07-04-2004, 12:40 PM
|
#7 (permalink)
|
|
Inactive
Join Date: 10-13-03
Posts: 7,481
Latest Blog: None
|
Yeah that wasn't there when you looked Jazzee. The form is doing something different now, asks fr a username and password.
|
|
|
07-04-2004, 12:58 PM
|
#8 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 2,935
|
Sorry, I've screwed with it some since the post.
Hold on, I'll show it to you both ways.
|
|
|
07-04-2004, 01:04 PM
|
#9 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 2,935
|
Here is a saved version as it was when Jazzee 1st commented. Take a look at the first empty "action" but then look down further. Should that top one even be there? I thought it was left over from something else and took it out.
http://www.amgsouth.com/contact/form_ting.htm
|
|
|
07-04-2004, 01:18 PM
|
#10 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
The top one with the empty action is the only form tag I see in that page. ?
|
|
|
07-04-2004, 01:20 PM
|
#11 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
Either way, I think it is failing because of the "action".
On that one, the action is empty and on the other one, you may have the wrong path to the script.
Where is the script located on your server?
|
|
|
07-04-2004, 08:01 PM
|
#12 (permalink)
|
|
Moderator
Join Date: 10-13-03
Location: Statesboro, Georgia
Posts: 2,935
|
|
|
|
07-04-2004, 08:31 PM
|
#13 (permalink)
|
|
No Longer Here
Join Date: 09-27-03
Location: State College, PA
Posts: 9,354
Latest Blog: None
|
NP. Glad it's working 
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 04:53 AM.
© Copyright 2008 V7 Inc
|