摘要:
encrypt.php 阅读全文
摘要:
PHP生成随机字符串 阅读全文
摘要:
片段 1 片段 2 phpExcel 操作示例 示例 导出 excel 带图片 <?php exit; ini_set("memory_limit","512M"); include "../framework/library/phpexcel/PHPExcel.php"; include " 阅读全文
摘要:
ImageWatermark.php 阅读全文
摘要:
``` //身份证验证 $id_card = ''; $preg_card="/^[1 9]\d{5}[1 9]\d{3}((0\d)|(1[0 2]))(([0|1|2]\d)|3[0 1])\d{3}([0 9]|X)$/i"; if(preg_match($preg_card,$id_card 阅读全文
摘要:
``` '你好','b'=>'他们','c'=>'tudo');
1. implode(delm,array) //jion 将数组合并成string #print_r(implode(',',$arr_test)); 2. explode('delm',string) //将字符串切割成数组 3. array_merge() //合并一个或者多个数组 4. array_combin... 阅读全文
摘要:
yii常用操作数据.php 阅读全文
摘要:
各种字符串截取.php 阅读全文
摘要:
PHP生成短连接的方法.md PHP生成短连接的方法 直接贴上方法,函数可以查看手册。 阅读全文
摘要:
```cache = & Cache::instance(); $this->queuecachename = 'queue_'.$queuename; $result = $this->cache->get($this->queuecachename); if(is_array($result)) { $this->_que... 阅读全文