var reg = /^[1-9]\d*$/; //校验数量为正整数 var nameRule = /^[\u4e00-\u9fa5]{2,20}$/; //姓名正则匹配 var …
# file: \shop\control\search.php if ($_GET['keyword'] != '') { // 品牌搜索 $model_brand = Mode…
function createDir($path){ if (!file_exists($path)){ createDir(dirname($path)); mkdir($pat…
<?php /** * 磁力链接下载,根据 关键词 文件大小 保存到指定文件中 */ class Magnet{ public $host='https://btdigg.o…
#file: /admin/templates/default/article.add.php #file: /admin/templates/default/article.ed…
<?php /** * author:郭椿安 * create at:2015-11-13 * last mod: 2015-12-12 14:23:52 */ header…
#file: /shop/templates/simplenc/seller/store_goods_add.step2.php #line: 202 # 添加一个 “请选择” 的…
function inject_check($sql_str) { return eregi('select|insert|and|or|update|delete|\'|\/\*…
Functions to update arrays and get the values from an unique key. <?php function apc_ar…
<?php class Twitter { /** * Method to make twitter api call for the users timeline in X…
class AES_CBC_NoPadding { private $iv; private $key; private $blocksize; public function _…