How to provoke PHP's built-in webserver to spit out its built-in “404 Not Found” webpage?

后端 未结 0 767
别跟我提以往
别跟我提以往 2020-11-28 00:50

For security purposes, I fake this in one place in my code for certain requests:

http_response_code(404);
die();

This will return the correct

相关标签:
回答
  • 消灭零回复
提交回复
热议问题