In Which Order Do I Deal With User Inputs To My Webform?

后端 未结 0 1408
逝去的感伤
逝去的感伤 2020-12-01 21:17

Q1. Do I validate user inputs first then sanitize it or should I vice versa ?

if($_SERVER[\'REQUEST_METHOD\'] == "POST")
    {
        if(ISSET($_PO         


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