php only show request_method as get

前端 未结 0 896
北恋
北恋 2021-02-05 06:49

I am trying to log some request in php. I just want to check it it is get or post.

$request_method = strtolower($_SERVER[\'REQUEST_METHOD\']);

if($request_method         


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