UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Technical Support > cPanel Shared Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 21-04-2008, 16:41
Member
 
Join Date: Nov 2007
Posts: 40
Default Getting a 405 error when submitting a form

Hi there,

Any help would be much appreciated. I've just set up a simple form and a straight forward PHP script.

However, when I go to submit information I'm getting the following error message:

Code:
Method Not Allowed
The requested method POST is not allowed for the URL /index.html.
Can anyone help me?

Thanks,
Reply With Quote
  #2 (permalink)  
Old 22-04-2008, 08:36
Rock's Avatar
System Administrator
 
Join Date: Dec 2006
Posts: 523
Thumbs up

Hi Jon,

Could you please copy paste the form content/code/script here ? There are several reasons for a form submission throwing that 'not much liked 405 error'.

Here's a common checklist to overcome it [hope this helps..] :

1)
Set the action to the actual page or script that will be doing the processing for the form for a start.

2)
Do not "nest' form tags, close one form tag & then start other.

3)
Check file extension of the web page producing the error..

4)
Specify a correct action [post/get] attribute in the form's property, it shouldn't be html, it should be some sort of script.

5) In
PHP,this is almost due to Apache not being configured to treat the file you are trying to POST to as a CGI script. You can not POST to a normal HTML file; the operation has no meaning...

Or if you open up a support ticket, we'd be able to fix the issue quicker or you'd get a faster response...
__________________

Rock _a.k.a._ Jack L.

http://www.eUKhost.com
Windows Hosting || Windows Reseller Hosting
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:38.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories