摘要:
【转】http://yulans.cn/linux/linux%E5%B8%B8%E7%94%A8%E7%B3%BB%E7%BB%9F%E4%BF%A1%E6%81%AF%E6%9F%A5%E7%9C%8B%E5%91%BD%E4%BB%A4#系统# uname -a #... 阅读全文
posted @ 2015-10-10 14:35
根号五
阅读(249)
评论(0)
推荐(0)
摘要:
pathinfo() - Returns information about a file path parse_str() - Parses the string into variables parse_url() - Parse a URL and return its components 阅读全文
posted @ 2015-10-10 11:38
根号五
阅读(408)
评论(0)
推荐(0)
摘要:
<?php// time()echo "time(): ",time();echo "\n";// strtotime()echo "strtotime(): ",strtotime('1991-09-26');echo "\n";// date($format, $timestamp),forma... 阅读全文
posted @ 2015-10-10 11:36
根号五
阅读(384)
评论(0)
推荐(0)
摘要:
<?php /** // 一行一行读取一个文件 (文件内容很大的时候,适用。file_get_contents此场景就不太好) $re = fopen("index.php","r+"); while (!feof($re)){ $char = fgets($re);// fgets获取一行,fge 阅读全文
posted @ 2015-10-10 11:13
根号五
阅读(252)
评论(0)
推荐(0)
摘要:
架构图: 安装sphinx,见文章http://my.oschina.net/ptk/blog/495435 sphinx关键的配置文件。在里面写查询的sql。 两个关键命令:indexer生成查询索引。searchd是后台进程。命令要添加上这个配置文件的位置。 sphinx主要和两个服务打交道,一 阅读全文
posted @ 2015-10-10 10:04
根号五
阅读(222)
评论(0)
推荐(0)

浙公网安备 33010602011771号