会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wangxusummer
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
15
下一页
2017年3月2日
Linux curl
摘要: 注 curl 一个url时 最好对url加上引号(单双都行),如果中间有{}符号 应对其转义 \{ \} 否则会报 nested braces not supported 不支持嵌套的括号 1) 最简单的使用 $ curl http://www.linuxidc.com 2) 把读过来页面存下来 $
阅读全文
posted @ 2017-03-02 15:25 wangxusummer
阅读(728)
评论(0)
推荐(0)
2017年2月22日
正则
摘要: 1匹配多个指定单次 匹配 cat,dog,dohpin 或者 cat,dog 等 匹配后继续匹配 可以包含数字、字母、下划线,并且要同时含有数字和字母,且长度要在8-16位之间
阅读全文
posted @ 2017-02-22 14:05 wangxusummer
阅读(131)
评论(0)
推荐(0)
2017年2月17日
php 批量载入文件的几种方式
摘要: 方式1:spl_autoload_register 方式2:__autoload 方式3:glob 非自动加载
阅读全文
posted @ 2017-02-17 14:25 wangxusummer
阅读(740)
评论(0)
推荐(0)
获取文件mimes
摘要: 'video/3gpp', 'ai' => 'application/postscript', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'asc' => 'text/plain', 'a...
阅读全文
posted @ 2017-02-17 14:10 wangxusummer
阅读(255)
评论(0)
推荐(0)
2017年2月14日
php S3调用SDK示例 AmazonS3
摘要: demo.php sdk.class.php library下载地址: https://github.com/amazonwebservices/aws-sdk-for-php 参考地址: http://docs.ceph.com/docs/master/radosgw/s3/php/#change
阅读全文
posted @ 2017-02-14 18:01 wangxusummer
阅读(4721)
评论(0)
推荐(0)
2017年2月9日
通过redis实现session共享-php
摘要: 入口处调用
阅读全文
posted @ 2017-02-09 14:55 wangxusummer
阅读(6957)
评论(1)
推荐(0)
2016年11月26日
mysql 乱码
摘要: 写入中文时 出现乱码了 一般这种情况基本就是这些步骤 SHOW VARIABLES LIKE 'character_set_%'; #查看当前编码 show create database dnname#查看库默认编码 show create table tablename #查看表默认编码 sho
阅读全文
posted @ 2016-11-26 12:24 wangxusummer
阅读(230)
评论(0)
推荐(0)
2016年10月27日
php-fpm
摘要: chmod +x php-fpm /etc/init.d/php-fpm start /etc/init.d/php-fpm restart /etc/init.d/php-fpm stop
阅读全文
posted @ 2016-10-27 15:51 wangxusummer
阅读(267)
评论(0)
推荐(0)
2016年10月26日
rpmforge
摘要: yum 报以上错误 解决方案 备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 下载新的CentOS-Base.repo 到/etc/yum.repos.d/ CentOS 5 #wget
阅读全文
posted @ 2016-10-26 18:17 wangxusummer
阅读(411)
评论(0)
推荐(0)
2016年9月14日
svn 安装 配置及同步
摘要: 1.环境centos 2.安装svn 3 查看版本 4 建立版本库目录 5创建一个新的Subversion项目 6配置允许用户访问 7客户端访问 8实现SVN与WEB同步 附加:重启svn
阅读全文
posted @ 2016-09-14 14:32 wangxusummer
阅读(318)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
15
下一页
公告