Is using extract($_POST) insecure?

后端 未结 5 1473
半阙折子戏
半阙折子戏 2021-01-20 17:03

Is using extract($_POST) insecure? If yes then what can I do about this?

5条回答
  •  迷失自我
    2021-01-20 17:40

    It is always better simply read values from $_POSTand do something with them instead of just exposing them as variables and risking overriding some of yours...

提交回复
热议问题