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

From: Date: Wed, 04 Oct 2000 12:27:37 +0000
Subject: PHP 4.0 Bug #7012: Bug in Example for Function pg_connect
Groups: php.dev 
Request: Send a blank email to php-dev+get-34208@lists.php.net to get a copy of this message
From: bumbi@gmx.net Operating system: Debian Linux PHP version: 4.0.2 PHP Bug Type: Documentation problem Bug description: Bug in Example for Function pg_connect 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

« previous php.dev (#34208) next »