php相关
tangjianft
php asp asp.net web 开发相关
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
php常用函数
/* 获取中英文数 $str string 字符串 $type int 要获取的类型 0英文 1中文 return int */ function getStrlen($str, $type = 0) { $count = 0; $newStr = preg_replace('/[^\x{4e00}-\x{9fa5}]/u', '', $str); $coun原创 2012-05-16 16:13:29 · 388 阅读 · 0 评论 -
MYSQL 配置优化
放在[mysqld]下: #================================ #公共参数默认值: #同时处理最大连接数,推荐设置最大连接数是上限连接数的80%左右 max_connections = 10000 #查询排序时缓冲区大小,只对order by和group by起作用,可增大此值为16M sort_buffer_size = 16M #查原创 2015-11-23 15:32:36 · 409 阅读 · 0 评论
分享