php对输入的检测

$data['value'] = trim(stripslashes(htmlspecialchars_decode($value)));
原文地址:https://www.cnblogs.com/lvchenfeng/p/6813457.html