In article <[EMAIL PROTECTED]>, 
> Hi. I'm learning PHP3 on an IIS 4.0 box and I started by trying out this
> simple HTML form. The form lets the user input his/her name, email address,
> and select whether he/she likes oranges or apples and sends the data to a
> .php file that displays what the user input on the HTML form. The form
> method is POST. When I submit the data I type, I receive an HTTP Error 405
> message with the following text:
> <start of error message>
> HTTP Error 405
> 405 Method Not Allowed
> The method specified in the Request Line is not allowed for the resource
> identified by the request. Please ensure that you have the proper MIME type
> set up for the resource you are requesting.
> Please contact the server's administrator if this problem persists.
> <end of error message>
> Here is the HTML page with the form I am using:

<SNIP html>
> What am I doing wrong?

Looks like IIS is not configured to accept POST requests; confirm by 
changing to GET and try again. If this is the case you'll need to make 
some changes to IIS configuration; sorry, can't tell you how or where as 
I have never used that software.

David Robley
Temporary Kiwi!

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to