摘要: function getFirstLetter($str){ $fchar = ord($str{0}); if($fchar >= ord("A") and $fchar = -20319 and $asc = -20283 and $asc = -19775 and $asc = -19218 and $asc = -18710 and $asc = -18526 and $... 阅读全文
posted @ 2013-08-27 15:19 末世 阅读(231) 评论(0) 推荐(0) 编辑
摘要: function defend_sql($string, $force = 1) { $preg = "select|insert|and|or|update|delete|\'|\/\*|\*|\.\.\/|\.\/|union|into|load_file|outfile"; if(!get_magic_quotes_gpc() || $force) { if... 阅读全文
posted @ 2013-08-27 14:47 末世 阅读(128) 评论(0) 推荐(0) 编辑