PHP/MSSQL - Filtering from User Input (HTML)

后端 未结 3 755
离开以前
离开以前 2021-01-27 10:10

I have been given this assignment, to include some sort of filtering to my current SQL query via User Input. Basically, i am looking for a filtering option, whether its some kin

3条回答
  •  暖寄归人
    2021-01-27 10:47

    there should not be ANY data from user in sql query

    that did not pass filter

    sql-injection is not an empty word

    so no $_GET['week'] in sql if you didn't clear it

提交回复
热议问题