How to enable and use HTTP PUT and DELETE with Apache2 and PHP?

后端 未结 6 396
别跟我提以往
别跟我提以往 2020-11-29 04:55

It should be so simple. I\'ve followed every tutorial and forum I could find, yet I can\'t get it to work. I simply want to build a RESTful API in PHP on Apache2.

In

6条回答
  •  情深已故
    2020-11-29 05:02

    You can just post the file name to delete to delete.php on the server, which can easily unlink() the file.

提交回复
热议问题