Method not allowed

Hello,

I am trying to code a feedback form in PHP and keep getting this message : " 405 Method Not Allowed
The requested method POST is not allowed for the URL /mail.php." when calling . What am i doing wrong ?
I have done this once before and everything worked. I even copied the old mail.php script .

If you have suggestions or ideas please, post.

thanks.

Comments

  • Hello.
    I am not very into this yet, but are you sure there isn't any line
    in the PHP.ini file that disables sending data through POST method?
    ---------------
    Mihail Dimitrov
    ICQ : 110064098

  • I think he's right, you have to enable this in the ini file (should be on by default)




    : Hello.
    : I am not very into this yet, but are you sure there isn't any line
    : in the PHP.ini file that disables sending data through POST method?
    : ---------------
    : Mihail Dimitrov
    : ICQ : 110064098
    :
    :

    ;-)
    -mac-
    mailto:mac_doggie@hotmail.com
    the Netherlands...


  • Guys,

    405 is usually a webserver error rather than PHP error. Apache has in its configuration a parameter called which limits the methods a user can use to interact with the server. If this parameter is set to , you won't be able to post any data from a form using the get method.

    Francis
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories