会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
pengcx
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
···
24
下一页
2017年9月21日
查看PHP版本等相关信息
摘要: phpinfo()函数
阅读全文
posted @ 2017-09-21 13:02 pengcx
阅读(107)
评论(0)
推荐(0)
2017年9月20日
读取数据库表信息
摘要: DB::query('SHOW TABLE STATUS');//读取表信息 DB::query("OPTIMIZE TABLE tableName ");//优化表 DB::query("REPAIR TABLE tableName ")//修复表
阅读全文
posted @ 2017-09-20 13:16 pengcx
阅读(245)
评论(0)
推荐(0)
2017年9月15日
将IP地址转化为整数
摘要: $ip = 'IP地址';echo $intip = sprintf('%u',ip2long($ip)); //转换为无符号整型echo long2ip($intip);//将整型转换为ip
阅读全文
posted @ 2017-09-15 13:09 pengcx
阅读(612)
评论(0)
推荐(0)
2017年9月14日
MyISAM压缩表
摘要: 如果表在创建并导入数据以后,不会在进行修改操作,那么这样的表或许适合采用MyISAM压缩表。 压缩表可以极大地减少磁盘空间暂用,因此也可以减少磁盘I/O,从而提升查询性能,压缩表也支持索引。
阅读全文
posted @ 2017-09-14 17:21 pengcx
阅读(391)
评论(0)
推荐(0)
yii2 模态框
摘要: http://bootboxjs.com/examples.html#bb-confirm-dialog
阅读全文
posted @ 2017-09-14 17:07 pengcx
阅读(110)
评论(0)
推荐(0)
MySQL数据库设计
摘要: http://www.cnblogs.com/qcloud1001/p/6555252.html
阅读全文
posted @ 2017-09-14 13:41 pengcx
阅读(101)
评论(0)
推荐(0)
2017年9月8日
foreach循环赋值问题
摘要: foreach ($list as $key=>$val){ $data=array();//这一个一定要加上不然循环后,modify_one,modify_two都会赋值 if ($val['id']!=1){ $link = explode("801",$val['p_link']); if (isset($link['1'])){ ...
阅读全文
posted @ 2017-09-08 15:16 pengcx
阅读(5035)
评论(0)
推荐(0)
2017年9月7日
实用的网站
摘要: 1、百度 Echarts:http://github.com/bubifengyun/yii2-echarts 2、在线工具:http://tool/lu 3、矢量小图标:http://www.iconfont.cn/ 4、百度云测:http://mtc.baidu.com 5、个人博客文章: ht
阅读全文
posted @ 2017-09-07 21:13 pengcx
阅读(441)
评论(0)
推荐(1)
判断链接地址是否有效
摘要: public function gethttpcode($url){ $ch = curl_init (); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_TIMEOUT, 2); curl_setopt($ch, CURLOPT_HEADER, FAL...
阅读全文
posted @ 2017-09-07 18:02 pengcx
阅读(465)
评论(0)
推荐(0)
2017年8月31日
tp5获取配置文件信息
摘要: \think\Config::get('xxx');
阅读全文
posted @ 2017-08-31 13:19 pengcx
阅读(3484)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
···
24
下一页
公告