随笔分类 -  PHP

php+redis window
摘要:http://download.csdn.net/detail/qwfy326/6572443wampserver2.2e-php5.3.13-httpd2.2.22-mysql5.5.24-x64 阅读全文
posted @ 2015-01-02 13:28 hxl2009 阅读(134) 评论(0) 推荐(0)
php+mysql+apache+nginx
摘要:http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html 安装mysqlrpm -qa | grep mysql // 这个命令就会查看该操作系统上是否已经安装了mysql数据库rpm -e --nodeps m... 阅读全文
posted @ 2014-12-26 13:30 hxl2009 阅读(247) 评论(0) 推荐(0)
memcache
摘要:http://www.cnblogs.com/zgx/archive/2011/08/10/2134097.htmlhttp://www.netingcn.com/php-memcached.htmlhttp://pecl.php.net/package/memcache 阅读全文
posted @ 2014-08-17 17:33 hxl2009 阅读(115) 评论(0) 推荐(0)
nginx.conf配置(支持thinkphp)
摘要:error_log /home/wwwlogs/nginx_error.log crit;pid /usr/local/nginx/logs/nginx.pid;#Specifies the value for maximum file descriptors that can b... 阅读全文
posted @ 2014-07-14 16:59 hxl2009 阅读(341) 评论(0) 推荐(0)
curl+ post/get 提交
摘要://测试 内容 固定为 你好 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_... 阅读全文
posted @ 2014-03-13 15:58 hxl2009 阅读(219) 评论(0) 推荐(0)
php乱码
摘要: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- 阅读全文
posted @ 2014-03-13 15:57 hxl2009 阅读(173) 评论(0) 推荐(0)