php的表单敏感字符过滤类.zip

时间:2022-07-31 03:38:03
【文件属性】:
文件名称:php的表单敏感字符过滤类.zip
文件大小:5KB
文件格式:ZIP
更新时间:2022-07-31 03:38:03
类库下载-php的表单敏感字符过滤类 <?php $_form = new formHtmlFind(); class formHtmlFind{ public function formHtml($array,$infoArray='') { if(empty($array))return false; $newform = null; $this->infoArray = !empty($infoArray)?$infoArray:array(); $this->array['class'] =  get_class_methods(get_class()); foreach ($array as $key =>$arr) { $key = preg_replace("/[^a-z]/i",'',$key); $newform .= $this->outputForm($arr,$key); } return $newform.$this->jsError(); } private function outputForm($arr,$key) { $value = null; if(empty($arr))return false; // input Type $type   = $key; // input NAME $name   = trim($arr[0]);这是一个php表单敏感字符过滤类及其用法。分享给大家供大家参考。
【文件预览】:
php的表单敏感字符过滤类
----php中文网下载站.url(114B)
----php的表单敏感字符过滤类.php(11KB)
----php中文网免费下载站.txt(219B)

网友评论