|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-06-24 17:12 UTC] zeev
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 01:00:02 2025 UTC |
I am using password protection in my pg_hba.conf file and a -i on the postmaster command line. This appears to work correctly for the psql command from the local host and outside hosts. It does not work well for pg_Connect() in PHP 3.0. Using this form of the command, the connection works, but works regardless of whether the password is valid or not: $dbConn = pg_Connect( "host=localhost port=5432 user=dqj password=dqjdqj dbname=sssystem" ); Using the following form, the page returns no data: $dbConn = pg_connect("host=localhost", "port=5432", "user=dqj password=dqjdqj", "","dbname=sssystem"); Thanks for any help/patch. Regards, David Quinn-Jacobs