摘要: $post_var){ if (is_numeric($post_var)) { $post[strtolower($post_key)] = get_int($post_var); } else { $post[strtolower($post_key)] = get_str($post_var); }}/* 过滤函数 *///整型过滤函数function get_int($number){ return intval($number);}//字符串型过滤函数function get_str($string){ if (!get_magic_quotes_gpc()) { r... 阅读全文
posted @ 2013-12-10 15:52 北斗极星 阅读(1031) 评论(0) 推荐(0)