Re: Page works when Form Action is Get but not Post



Michael Brennan-White wrote:
In the IIS setup, php is set to use all verbs.  I checked the box to
ensure that php-cgi.exe was in the correct location and it was correct.


I deleted the php entry and recreated the php entry selecting the all verbs option. I then restarted IIS but the problem persists.

The PHP entries (php3, phtml and php) and the only entries where all
verbs are allowed.  Should I try specifying which verbs are allowed?
Is there a list of verbs to choose from?


Hmmm, my ideas are pretty much exhausted then! (I'm no expert on IIS). Try setting the action of the form to a normal HTML page (i.e. one with a .htm extension). If you still get the 404, you can at least eliminate PHP as a contributing factor to this problem.


My only remaining advice would be to migrate to Apache, there's far fewer of these stupid little "issues" that are impossible to track down. This is probably not the answer you want though!


-- Oli .



Relevant Pages

  • Re: Page works when Form Action is Get but not Post
    ... In the IIS setup, php is set to use all verbs. ... ensure that php-cgi.exe was in the correct location and it was correct. ...
    (alt.php)
  • Re: Blank PHP pages
    ... configuration mappings on the default website and php is listed with a ... path of C:\PHP\php-cgi.exe and ALL verbs. ... is that you did not associate .php with the PHP ...
    (alt.php)
  • Re: Blank PHP pages
    ... configuration mappings on the default website and php is listed with a ... path of C:\PHP\php-cgi.exe and ALL verbs. ... is that you did not associate .php with the PHP ...
    (alt.php)
  • Re: $_POST problem with PHP5 on IIS
    ... Check your IIS configuration and see what verbs are permitted for PHP. ... Prev by Date: ...
    (comp.lang.php)