摘要: http://blog.163.com/lgh_2002/blog/static/44017526201261111044608/使用PHP的Mongo扩展连接MongoDB。通过new Mongo对象建立数据库连接。class Mongo {public function __construct($servers, $options=array());}参数$server是PHP-MongoDB-Driver标准连接字符串格式mongodb://[username:password@]host1[:port1][,host2[:port2:],…]/database参数$options是一个 阅读全文
posted @ 2013-12-09 19:53 微笑点燃希望 阅读(9955) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2013-12-09 15:36 微笑点燃希望 阅读(496) 评论(0) 推荐(0) 编辑
font=white