摘要:
//测试 内容 固定为 你好 post $curlPost = 'mobile='.$mobile.'&message='.$message.'&memberId='.$memberid; $ch = curl_init(); $url='http://www.haibi.com.cn/sendMessage.jsp'; curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_... 阅读全文
2014年3月13日
摘要:
1:php 编码是utf-8 但是接口需要是gbk 这么办?? $message = "你的微点管理地址为:".$shortUrl." [请保存信息]"; //echo $message."";exit; $message=iconv("UTF-8","gb2312",$message);2:接口返回时gbk 但是php页面时utf8? $result=file_get_contents($jiekouurl); $html = iconv("gbk", "utf- 阅读全文
摘要:
cd /usr/local/mysql/bin/grant all privileges on *.* to 'root'@'%' identified by '12345678';flush privileges; 阅读全文