PHP 4.0 Bug #7012 Updated: Bug in Example for Function pg_connect

From: Date: Fri, 06 Oct 2000 20:59:28 +0000
Subject: PHP 4.0 Bug #7012 Updated: Bug in Example for Function pg_connect
Groups: php.dev 
Request: Send a blank email to php-dev+get-34407@lists.php.net to get a copy of this message
ID: 7012 Updated by: jmoore Reported By: bumbi@gmx.net Status: Closed Bug Type: Documentation problem Assigned To: Comments: Fixed in docu.. should appear in next build Previous Comments: --------------------------------------------------------------------------- [2000-10-04 08:27:37] bumbi@gmx.net In your Example you write the following: "$dbconn3 = pg_Connect ("user=lamb passwd=baaaa dbname=mary ");" and later on "The arguments available include dbname port, host, tty, options, user, and password ". The Codeline in your Example won't work with PHP 4.0.2, until you change it into "$dbconn3 = pg_Connect ("user=lamb password=baaaa dbname=mary ");". You have to write "password=" instead of "passwd="! CU AndiB --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7012

« previous php.dev (#34407) next »