Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHPリクエストパイプラインの早い段階で動詞がPOSTであることを確認し、他の動詞を拒否するにはどうすればよいですか?
これは機能するはずです:
if ($_SERVER['REQUEST_METHOD'] != 'POST') die();