摘要:
/***字符截取支持UTF8/GBK*@param$string*@param$length*@param$dot*/functionstr_cut($string,$length,$dot='...'){$strlen=strlen($string);if($strlen','·','…'),$s... 阅读全文
摘要:
$file删除成功。"; }else{ echo "文件$file删除失败!"; } } } if(@rmdir($dir)){ echo "... 阅读全文
摘要:
createXmlContent($message,$mobile,$signature);$xml=$this->sendHttpRequest(trim($xml_content));if(!$xml){returnfalse;//网络请求失败}//解析返回的编码$res=simplexml_l... 阅读全文
摘要:
/***QQ互联oauth*@authordyllen*@edithttp://www.lai18.com*@date2015-07-06*/classOauth{//取AuthorizationCodeUrlconstPC_CODE_URL='https://graph.qq.com/oauth2... 阅读全文