03 2014 档案
PHP安装pthreads多线程扩展教程[windows篇]
摘要:from:http://blog.csdn.net/aoyoo111/article/details/19020161一、判断PHP是ts还是nts版通过phpinfo(); 查看其中的 Thread Safety 项,这个项目就是查看是否是线程安全,如果是:enabled,一般来说应该是ts版,否... 阅读全文
posted @ 2014-03-27 13:56 老游条 阅读(352) 评论(0) 推荐(0)
识别字符串中的外链图片,下载存到本地,并替换图片地址
摘要:define('UPLOAD_IMG_PATH','./wordpress/');//$str = 'sdasda ';function lx_findPicAndDownload($str){ preg_match_all('/http\:\/\/([^\/]+\/)+[^\.]+\.(jpg|p... 阅读全文
posted @ 2014-03-24 18:06 老游条 阅读(387) 评论(0) 推荐(0)
mysql的binlog
摘要:mysql> show global variables like '%bin%';+---------------------------------+----------------------+| Variable_name | Value |+------------------------... 阅读全文
posted @ 2014-03-20 11:14 老游条 阅读(167) 评论(0) 推荐(0)
Linux 常用命令
摘要:du -h --max-depth=1 /data/mysql查看文件夹大小统计 阅读全文
posted @ 2014-03-20 11:08 老游条 阅读(119) 评论(0) 推荐(0)
一个socket发送调试信息的类
摘要:using UnityEngine;using System.Collections;using System; using System.Net.Sockets; using System.Net;using System.Text; using System.Threading;public c... 阅读全文
posted @ 2014-03-04 19:24 老游条 阅读(216) 评论(0) 推荐(0)