Necesssary to sanitize $_post in AJAX if no database injection?

前端 未结 0 379
孤城傲影
孤城傲影 2020-12-16 04:21

Do I need to sanitize a value I get in ajax by $_POST if I never insert it in my database? Here an example:

function ajax_callback_function() {
   $name = $_P         


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