note 695 deleted from pg_Connect by ronabop

From: Date: Mon, 11 Sep 2000 20:24:13 +0000
Subject: note 695 deleted from pg_Connect by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-4729@lists.php.net to get a copy of this message
The documentation doesn't mention it, but the connection string can also specify the "user" as a parameter. For example, a minimalist connection:<BR> <PRE>$db = pg_Connect("host=localhost user=rhubarb");</PRE><BR> This would assume that you have created a user named "rhubarb", a database was created with the name of "rhubarb" and you're not using any password authentication on connections made locally.

« previous php.notes (#4729) next »