note 96436 added to mongo.construct

From: Date: Fri, 26 Feb 2010 22:38:00 +0000
Subject: note 96436 added to mongo.construct
Groups: php.notes 
Request: Send a blank email to php-notes+get-166418@lists.php.net to get a copy of this message
Be sure *not* to append a slash at the end of the mongo URL. $m = new Mongo("mongodb://dbuser:dbpasswd@localhost/"); in my case led to an empty web page and complete crash of the PHP interpreter, no chance to catch this as an exception. ---- Server IP: 69.147.83.197 Probable Submitter: 93.207.222.146 ---- Manual Page -- http://www.php.net/manual/en/mongo.construct.php Edit -- https://master.php.net/note/edit/96436 Del: integrated -- https://master.php.net/note/delete/96436/integrated Del: useless -- https://master.php.net/note/delete/96436/useless Del: bad code -- https://master.php.net/note/delete/96436/bad+code Del: spam -- https://master.php.net/note/delete/96436/spam Del: non-english -- https://master.php.net/note/delete/96436/non-english Del: in docs -- https://master.php.net/note/delete/96436/in+docs Del: other reasons-- https://master.php.net/note/delete/96436 Reject -- https://master.php.net/note/reject/96436 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#166418) next »