note 3928 deleted from pg_pConnect by jmoore

From: Date: Fri, 18 Aug 2000 23:17:43 +0000
Subject: note 3928 deleted from pg_pConnect by jmoore
Groups: php.notes 
Request: Send a blank email to php-notes+get-2552@lists.php.net to get a copy of this message
The easiest way to connect to a PostgreSQL DB as another user is to do something like the following: <pre> $db_options = "host=<hostname|ip address> user=<username> password=password"; </pre> Then to do a persistent connection do: <pre> pg_pConnect($db_options); </pre> or for a non persistent connection do: pg_Connect($db_options);

« previous php.notes (#2552) next »