PHP protection of GET parameters

前端 未结 3 1230
故里飘歌
故里飘歌 2020-12-10 15:34

OK consider this url:

example.com/single.php?id=21424

It\'s pretty obvious to you and i that the PHP is going to take the id and run it thr

3条回答
  •  孤城傲影
    2020-12-10 16:17

    All depends on the filtering you explicitely (with filter_var() for instance) or implictely (by using prepared statements for instance) use.

提交回复
热议问题