Does PHP's $_REQUEST method have a security problem?

后端 未结 7 1633
醉酒成梦
醉酒成梦 2020-12-03 07:51

The textbook I read says that $_REQUEST has security problem so we better use $_POST.

Is this OK?

7条回答
  •  无人及你
    2020-12-03 08:23

    It's certainly okay to tell people to use $_POST instead of $_REQUEST. It is always better to be more sure about where your getting your data.

提交回复
热议问题