//去掉数字段前面的0 function del0($num){ return "".intval($num); } //单个数字变汉字 function n2c($x){ $ar…
<?php /** * Created by PhpStorm. * User: 20779182@qq.com * Date: 15/10/22 * Time: 下午5:1…
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 # 添加一个 “请选择” 的…
<?php namespace Org\Weixin; class OrderPush { protected $appid; protected $secrect; pro…
#file: /admin/control/brand.php #line: 60 $brand_list = $model_brand->table('brand')-&g…