摘要: 换行符unix系列用 \nwindows系列用 \r\nmac用 \rPHP中可以用PHP_EOL来替代,以提高代码的源代码级可移植性如:类似常用的还有DIRECTORY_SEPARATOR可以用函数get_defined_constants()来获取所有PHP常量 阅读全文
posted @ 2013-11-08 16:33 jking10 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 本文需要你已对Gearman有个大致了解。顺便再推荐两篇参考文章http://hi.baidu.com/thinkinginlamp/blog/item/ff49972b9e7378f3e6cd40aa.html (学学Gearman)http://www.ibm.com/developerworks/cn/opensource/os-php-gearman/index.html (用 Gearman 分发 PHP 应用程序的工作负载)更多参考大家还是自己google吧:)先安装任务分发的Job端安装Gearman server and library:wget http://launchpa 阅读全文
posted @ 2013-11-08 11:05 jking10 阅读(309) 评论(0) 推荐(0) 编辑