会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
幸福之家128817
博客园
首页
博问
闪存
新随笔
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
下一页
2014年6月4日
mysql中group by和order by混用 结果不是理想结果
摘要: 在使用mysql排序的时候会想到按照降序分组来获得一组数据,而使用order by往往得到的不是理想中的结果,那么怎么才能使用group by 和order by得到理想中的数据结果呢?例如有一个 帖子的回复表,posts( id , tid , subject , message , dateli...
阅读全文
posted @ 2014-06-04 11:55 幸福之家128817
阅读(15540)
评论(4)
推荐(1)
编辑
2014年6月3日
jquery点击弹框外层关闭弹框
摘要: $(document).bind("click",function(e){ if($( e.target ).closest(".game-container").length == 0){ alert(111); $(".game-container").hide();//game-contain...
阅读全文
posted @ 2014-06-03 17:48 幸福之家128817
阅读(731)
评论(0)
推荐(0)
编辑
2014年5月30日
https soap链接示例
摘要: 1.先安装soap扩展sudo yum install php-soap2.安装openssL3.function issure($sn){//通过soap链接接口 进行确认是否是正确的sn码 try{ $client = new SoapClient("https://118.124.139.23...
阅读全文
posted @ 2014-05-30 11:00 幸福之家128817
阅读(406)
评论(0)
推荐(0)
编辑
微信更改分享图片和分享链接的方法
摘要: 1.将以下代码加到head头里2.更改window.imgUrl的值(图片地址)3.更改link,title,desc这些参数
阅读全文
posted @ 2014-05-30 10:55 幸福之家128817
阅读(1533)
评论(0)
推荐(0)
编辑
OPENSSL安装
摘要: ./configure–with-openssl–with-php-config=/usr/local/bin/php-configmakemaketestPHP.ini中加入extension=openssl.so
阅读全文
posted @ 2014-05-30 10:52 幸福之家128817
阅读(148)
评论(0)
推荐(0)
编辑
php获取csv数据无乱码
摘要: <?php//获取csv数据 function csvencode($file){ if(!is_file($file['tmp_name'])){ return; } $handle=fopen($file['tmp_name'],'r'); $content = fread($handle, f...
阅读全文
posted @ 2014-05-30 10:48 幸福之家128817
阅读(236)
评论(0)
推荐(0)
编辑
2014年5月28日
实例讲解Nginx下的rewrite规则 来源:Linux社区
摘要: 一.正则表达式匹配,其中:* ~ 为区分大小写匹配* ~* 为不区分大小写匹配* !~和!~*分别为区分大小写不匹配及不区分大小写不匹配二.文件及目录匹配,其中:* -f和!-f用来判断是否存在文件* -d和!-d用来判断是否存在目录* -e和!-e用来判断是否存在文件或目录* -x和!-x用来判断...
阅读全文
posted @ 2014-05-28 13:07 幸福之家128817
阅读(246)
评论(0)
推荐(0)
编辑
2014年5月13日
php https链接
摘要: 1.安装soap扩展2.安装openssL3.代码执行function issure($sn){//通过soap链接接口 进行确认是否是正确的sn码 try{ $client = new SoapClient("https://112.122.122.22/gethtcpro.asmx?wsdl",...
阅读全文
posted @ 2014-05-13 11:09 幸福之家128817
阅读(254)
评论(0)
推荐(0)
编辑
2014年5月5日
PHP CURL HTTPS POST
摘要: PHP CURL HTTPS POSTfunction vpost($url,$data){ // 模拟提交数据函数 $curl = curl_init(); // 启动一个CURL会话 curl_setopt($curl, CURLOPT_URL, $url); // 要访问的地址 curl_se...
阅读全文
posted @ 2014-05-05 15:38 幸福之家128817
阅读(224)
评论(0)
推荐(0)
编辑
php生成二维码
摘要: ';}$data='http://app76.vliang.com';generateQRfromGoogle($data);
阅读全文
posted @ 2014-05-05 14:50 幸福之家128817
阅读(143)
评论(0)
推荐(0)
编辑
上一页
1
···
4
5
6
7
8
9
10
11
下一页