PHP源码:报名+抽奖+奖品核销(二维码方式)
tally 8年前 (2015-03-24) 2227浏览
先来控制文件: hd3.php <?php defined('InShopNC') or exit('Access Invalid!'); class hd3 extends BaseHomeControl{ public functi...
小码农关注互联网,关注新产品
tally 8年前 (2015-03-24) 2227浏览
先来控制文件: hd3.php <?php defined('InShopNC') or exit('Access Invalid!'); class hd3 extends BaseHomeControl{ public functi...
tally 8年前 (2015-03-16) 499浏览
/* Copyright (c) 2003-2012, CKSource – Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http:...
tally 8年前 (2015-03-16) 904浏览
<?php /** * extention.func.php 用户自定义函数库 * @author tally * @update 2014-11-21 13:48:04 */ /** * 返回去除html标签和空格...
tally 8年前 (2015-03-14) 4970浏览
$(function(){ var srcList = []; $.each($('img'),function(i,item){ if(item.src) { srcList.push(it...
tally 8年前 (2015-02-11) 928浏览
$str="你好<我>(爱)[北京]{天安门}"; echo f1($str); //返回你好 echo f2($str); //返回我 echo f3($str); //返回爱 echo f4($str); //返回北...
tally 8年前 (2015-01-12) 1179浏览
先引入微信官方类: <?php class JSSDK { private $appId; private $appSecret; public function __construct($appId, $appSecr...
tally 8年前 (2015-01-09) 2424浏览
上效果: 看代码: /* 日历开始 */ $monthnow=isset($_GET['mon'])?$_GET['mon']:date("n"); $yearnow=isset($_GET['year'])?$_GET['year']...
tally 8年前 (2015-01-06) 662浏览
亲测,可用! /* * 自定义json_encode,防止中文乱码,PHP5.4以下建议使用 * tally 2014-12-23 08:43:06 */ function encode_json($str) { return ur...
tally 8年前 (2014-11-24) 423浏览
shell>mysql -u root -p输入完密码登陆时,会提示[root@redhattest local]# mysql -u root -pEnter password:Welcome to the MySQL monitor. Co...
tally 9年前 (2014-10-21) 798浏览
/** * 多个连续空格只保留一个 * * @param string $string 待转换的字符串 * @return unknown */ function merge_spaces ($string) { return...