php安全防注入类.zip
<?php
class Params
{
public $get = array();
public $post = array();
function __construct()
{
if (!empty($_GET)) {
foreach ($_GET as $key => $val) {
if (is_numeric($val)) {
$this->get[$key] = $this->getInt($val);
} else {
$this->get
下载地址
用户评论