摘要: // 原始底图$path_base = "public/template/base.jpg";// logo图片 $path_logo = "public/template/logo.jpg";// 载入图像资源$image_logo = imagecreatefrompng($path_logo) 阅读全文
posted @ 2018-08-01 14:22 柒日 阅读(2810) 评论(0) 推荐(0)
摘要: 使用 group by 查询数据时报下面错误: select 列1 from 表名称 group by 列2; select 列1,列2 from 表名称 group by 列2; 错误信息:ERROR 1055 (42000): Expression #1 of SELECT list is no 阅读全文
posted @ 2018-07-26 11:06 柒日 阅读(125) 评论(0) 推荐(0)
摘要: mysql主从配置。鄙人是在如下环境测试的: 主数据库所在的操作系统:win7 主数据库的版本:5.0 主数据库的ip地址:192.168.1.111 从数据库所在的操作系统:linux 从数据的版本:5.0 从数据库的ip地址:192.168.1.112 介绍完了环境,就聊聊配置步骤: 1、确保主 阅读全文
posted @ 2017-11-03 15:56 柒日 阅读(120) 评论(0) 推荐(0)
摘要: function getFirstCharter($str) { if (empty($str)) { return ''; } $fchar = ord($str{0}); if ($fchar >= ord('A') && $fchar <= ord('z')) return strtouppe 阅读全文
posted @ 2017-09-08 18:08 柒日 阅读(1447) 评论(0) 推荐(0)
摘要: 原文地址:http://xiaod.in/read.php?77俺的centos vps上面不知道添加了多少个账户,今天想清理一下,但是以前还未查看过linux用户列表,google了一下:一般情况下是cat /etc/passwd 可以查看所有用户的列表w 可以查看当前活跃的用户列表cat /et 阅读全文
posted @ 2017-08-23 11:06 柒日 阅读(651) 评论(0) 推荐(0)
摘要: 作者:@Ryan-Miao本文为作者原创,转载请注明出处:http://www.cnblogs.com/woshimrf/p/5198361.html 目录 参阅redis中文的 互动教程(interactive tutorial)的学习笔记。 全局操作: 1.redis是key-value存储的, 阅读全文
posted @ 2017-08-23 11:01 柒日 阅读(184) 评论(0) 推荐(0)
摘要: 1:查看环境:12 [root@10-4-14-168 html]# cat /etc/redhat-releaseCentOS release 6.5 (Final)2:关掉防火墙1 [root@10-4-14-168 html]# chkconfig iptables off3:配置CentOS 阅读全文
posted @ 2017-08-23 10:38 柒日 阅读(83) 评论(0) 推荐(0)