htmlentities vs Filter_SANITZE_String?

前端 未结 0 1770
忘了有多久
忘了有多久 2021-01-05 17:55

Which of the two methods is in which case better and safer?

1.

function escape($inputtype){
    return filter_input(INPUT_POST, $input         


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