随笔分类 - PHP
PHP
摘要:doImg(); */ class circleSeal { private $sealString; //印章字符 private $strMaxLeng; //最大字符长度 private $sealRadius; //印章半径 private $rimWidth; //边框厚度 private $innerRadiu...
阅读全文
摘要:array('id'=>'1','parentid'=>0,'name'=>'一级栏目一'), * 2 => array('id'=>'2','parentid'=>0,'name'=>'一级栏目二'), * 3 => array('id'=>'3','parentid'=>1,'name'=>'二级
阅读全文
摘要:init(1000, 20); * $page->setNotActiveTemplate(' {a} '); * $page->setActiveTemplate('{a}'); * echo $page->show(); * * * @author 风居住的地方 */ class Page { /** * 总条数 */ private $...
阅读全文
摘要:xxx,'name'=>xxx,'password'=>xxx,'option'=>xxx) * @var array */ protected $Config; /** * 构造函数 * @param array $config */ public function __construct($config) ...
阅读全文
摘要:class Category{ public $sonName; public $parentName; public function __consturt($id,$parent_id){ $this->sonName = $id; $this->parentName = $parent_id; } /** * ...
阅读全文
摘要:1,connect 描述:实例连接到一个Redis.参数:host: string,port: int返回值:BOOL 成功返回:TRUE;失败返回:FALSE 示例: connect('127.0.0.1', 6379); var_dump($result); //结果:bool(true) ?>
阅读全文
摘要:php token的生成 接口特点汇总: 1、因为是非开放性的,所以所有的接口都是封闭的,只对公司内部的产品有效; 2、因为是非开放性的,所以OAuth那套协议是行不通的,因为没有中间用户的授权过程; 3、有点接口需要用户登录才能访问; 4、有点接口不需要用户登录就可访问; 针对以上特点,移动端与服
阅读全文
摘要:1.在php官网找到对应的php版本下载下来(php官网地址http://php.net) 2.把下载下来的安装包放入到linux系统中 3.解压php压缩包,通过tar -zxvf + 下载下来的php版本压缩包 4.进入解压后的php版本文件中,执行./configure 配置php 如果报er
阅读全文

浙公网安备 33010602011771号