What causes an HTTP 405 “invalid method (HTTP verb)” error when POSTing a form to PHP on IIS?

后端 未结 11 1179
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 12:05

I have one form in a PHP (5.2.9-1) application that causes IIS (Microsoft-IIS/6.0) to throw the following error when POSTed:

The page you are looking

11条回答
  •  孤城傲影
    2020-11-29 12:27

    An additional possible cause.

    My HTML page had these starting tags:

    
    
    

    This was on a page that using the slick jquery slideshow.

    I removed the tags and replaced with:

    
    

    And everything is working again.

提交回复
热议问题