📜  sanitize - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:31.656000             🧑  作者: Mango

代码示例1
// prevent XSS
$_GET   = filter_input_array(INPUT_GET, FILTER_SANITIZE_STRING);
$_POST  = filter_input_array(INPUT_POST, FILTER_SANITIZE_STRING);