Click here to Skip to main content
12,505,335 members (64,994 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: PHP
contact form not working in my web site i used php showing error when i click submit button
"HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used".
Posted 21-Sep-12 20:06pm
Comments
Zoltán Zörgő 22-Sep-12 2:25am
   
And what about posting relevant parts of the code - but at least the html web form you generate?
raheempasha 22-Sep-12 2:49am
   
hi sir my os is windows xp and iam not finding "config" in "insertv" location can you please explain clearly step by step thanq advance
nK0de 22-Sep-12 13:26pm
   
What we need to see is the PHP code you have written for this. Post that code. Then only we can determine where the problem is.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Here, refer this: MS Support: "HTTP Error 405.0 - Method not allowed"[^]

As suggested,
Resolution 1
Make sure that the client sends a request that contains a valid HTTP method. To do this, follow these steps:
- Click Start, type Notepad in the Start Search box, right-click Notepad, and then click Run as administrator.
- Note If you are prompted for an administrator password or for a confirmation, type the password, or provide confirmation.
- On the File menu, click Open. In the File name box, type %windir%\system32\inetsrv\config\applicationhost.config, and then click Open.
- In the ApplicationHost.config file, locate the
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 22 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100