How to get file properties from a post request using Slim?

Can someone tell me what this means and what I have done wrong?

  • I used an external php form to create an email form for my website n hav uploaded it to my IIS...but wen I run the site and click "submit" I get this error: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. Most likely causes: The request sent to the Web server used an HTTP verb that is not allowed by the module configured to handle the request. A request was sent to the server that contained an invalid HTTP verb. The request is for static content and contains an HTTP verb other than GET or HEAD. A request was sent to a virtual directory using the HTTP verb POST and the default document is a static file that does not support HTTP verbs other than GET or HEAD. Things you can try: Verify the list of verbs enabled for the module handler this request was sent to, and ensure that this verb should be allowed for the Web site. Check the IIS log file to see which verb is not allowed for the request. Check the failed request tracing logs for additional information about this error. For more information, click here. Detailed Error Information: Module StaticFileModule Notification ExecuteRequestHandler Handler StaticFile Error Code 0x80070001 Requested URL http://localhost:22227/contact.php Physical Path C:\Users\Casey\Desktop\Heather's Photography\contact.php Logon Method Anonymous Logon User Anonymous Request Tracing Directory C:\Users\Casey\Documents\IISExpress\Trac… wat's the problem? Thanks

  • Answer:

    In my experiences, Apache servers and ISS local servers/hosts don't let you send an email. You need to actually upload the website onto the internet/onto an actual host for it to work. Hope I helped!

Casey Stack at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

I'd suggest that you check to make sure that you're using the right methods for sending data, such as GET and POST, as well as HEAD, which may be needed when sending an e-mail. Also, you may want to check to be sure that your webhost has a properly configured mail server and that you it is set up to work with the form that you created. (You may want to check any variables, IP Addresses, and other server settings, just to be sure.) Additionally, perhaps you should also check, like suggested in the error report, that you are passing the variables from one page to another and then entering them into your e-mail script properly. Good luck and I hope I helped you!

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.