Fork me on github
摘要: /***字符截取支持UTF8/GBK*@param$string*@param$length*@param$dot*/functionstr_cut($string,$length,$dot='...'){$strlen=strlen($string);if($strlen','·','…'),$s... 阅读全文
posted @ 2015-07-20 16:50 Champion-水龙果 阅读(235) 评论(0) 推荐(0) 编辑
摘要: $file删除成功。"; }else{ echo "文件$file删除失败!"; } } } if(@rmdir($dir)){ echo "... 阅读全文
posted @ 2015-07-20 16:36 Champion-水龙果 阅读(534) 评论(0) 推荐(0) 编辑
摘要: createXmlContent($message,$mobile,$signature);$xml=$this->sendHttpRequest(trim($xml_content));if(!$xml){returnfalse;//网络请求失败}//解析返回的编码$res=simplexml_l... 阅读全文
posted @ 2015-07-20 16:32 Champion-水龙果 阅读(375) 评论(0) 推荐(0) 编辑
摘要: /***QQ互联oauth*@authordyllen*@edithttp://www.lai18.com*@date2015-07-06*/classOauth{//取AuthorizationCodeUrlconstPC_CODE_URL='https://graph.qq.com/oauth2... 阅读全文
posted @ 2015-07-20 16:28 Champion-水龙果 阅读(333) 评论(0) 推荐(0) 编辑
Champion-水龙果