You also can get rid of all those .'s

pg_connect("host=$dbHost port=$dbPuerto dbname=$dbDB user=$dbLogin
password=$dbPassword");

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Alberto <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 27, 2001 5:51 AM
Subject: PostgreSQL connection problems


> Warning: Unable to connect to PostgreSQL server: No pg_hba.conf entry for
> host myhost, user myuser, database mydb in /path/to/principal.php on line
27
>
> that's
>
>  $bdConexion = pg_connect ("host=".$bdHost." port=".$bdPuerto."
> dbname=".$bdBD." user=".$bdLogin." password=".$bdPassword);
>
>
> PHP is already compiled with PostgreSQL support. PostgreSQL is running on
a
> remote server.
>
> Thnx in advance
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to