0

Working closely with this W3 Schools's guide, I'm trying to upload an image via a <form> on an .aspx page to a "server", using PHP. The "server" is actually my localhost. The form is being submitted but then I get the 405 error. I checked the response headers and I can see:

Allow:GET, HEAD, OPTIONS, TRACE

If this is really the issue, how do I change this?

NOTE: My PHP code and HTML content are an exact copy of the example in the link provided.

Community
  • 1
  • 1
OzW
  • 848
  • 1
  • 11
  • 24

0 Answers0