上一页 1 ··· 5 6 7 8 9 10 11 下一页

2016年8月19日

php Memcached

摘要: PHP 连接 Memcached 服务 在前面章节中我们已经介绍了如何安装 Memcached 服务,接下来我们为大家介绍 PHP 如何使用 Memcached 服务。 PHP Memcache 扩展安装 PHP Memcache 扩展包下载地址:http://pecl.php.net/packag 阅读全文

posted @ 2016-08-19 20:42 jiageng 阅读(198) 评论(0) 推荐(0) 编辑

php redis

摘要: PHP 使用 Redis 安装 开始在 PHP 中使用 Redis 前, 我们需要确保已经安装了 redis 服务及 PHP redis 驱动,且你的机器上能正常使用 PHP。 接下来让我们安装 PHP redis 驱动:下载地址为:https://github.com/phpredis/phpre 阅读全文

posted @ 2016-08-19 20:37 jiageng 阅读(132) 评论(0) 推荐(0) 编辑

2016年8月18日

CI 框架 hooks 的调用方法

摘要: 流程:在hooks中写一个类 , 在system/core/CodeIgniter.php 判断什么时候执行 hooks中的类 涉及到了php反射获取类 方法 方法中的注释 钩子的介绍 : 启用 钩子 定义钩子 例子:hooks tokenverify.php <?php /* * To chang 阅读全文

posted @ 2016-08-18 18:27 jiageng 阅读(1764) 评论(0) 推荐(0) 编辑

2016年8月17日

FQ的软件

摘要: 天行 vpn 收费的 (便宜) lantern 免费的 阅读全文

posted @ 2016-08-17 12:50 jiageng 阅读(31) 评论(0) 推荐(0) 编辑

2016年8月16日

CI 路由设置

摘要: $route['news/show/(:num)']='news/show/$1'; 前边是匹配 网址 后边是 指定控制器 在application/config/文件夹下有routes.php的设置。 1.首先说URL默认路由设置 $route['default_controller']='def 阅读全文

posted @ 2016-08-16 19:43 jiageng 阅读(417) 评论(0) 推荐(0) 编辑

2016年8月15日

js 弹层 提示

摘要: <!DOCTYPE html><html style="height: 100%;"><head lang="en"> <meta charset="UTF-8"> <meta content="width=device-width,initial-scale=1.0,maximum-scale=1 阅读全文

posted @ 2016-08-15 16:45 jiageng 阅读(2962) 评论(0) 推荐(0) 编辑

2016年8月9日

php 发送邮件

摘要: 压缩包在文件里 <?php /** * 注:本邮件类都是经过我测试成功了的,如果大家发送邮件的时候遇到了失败的问题,请从以下几点排查: * 1. 用户名和密码是否正确; * 2. 检查邮箱设置是否启用了smtp服务; * 3. 是否是php环境的问题导致; * 4. 将26行的$smtp->debu 阅读全文

posted @ 2016-08-09 15:06 jiageng 阅读(219) 评论(0) 推荐(0) 编辑

php 大转盘抽奖

摘要: 包在文件中 lottery.zip <!DOCTYPE HTML><html><head><meta charset="utf-8"><meta name="keywords" content="html5,本地存储" /><meta name="description" content="Hell 阅读全文

posted @ 2016-08-09 10:44 jiageng 阅读(229) 评论(0) 推荐(0) 编辑

2016年8月8日

php 生成二维码 代码示例

摘要: logo 是正方形 或者 圆形的 居多 <?php include ('phpqrcode.php'); $value = 'http://www.codesc.net';//二维码数据 $errorCorrectionLevel = 'L';//纠错级别:L、M、Q、H $matrixPointS 阅读全文

posted @ 2016-08-08 15:15 jiageng 阅读(208) 评论(0) 推荐(0) 编辑

2016年8月5日

处理图片出现翻转的问题

摘要: 首先保证 php 开 exif 扩展 function rote($file){ $imagemodel = new Image(); $info = $imagemodel::GetImageInfo($file); $type = empty($type) ? $info['type'] : $ 阅读全文

posted @ 2016-08-05 15:19 jiageng 阅读(243) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 下一页

导航