Thanks for the help.
It works.
I'm also posting my two .conf file that I had to configure.
postgresql.conf:
[EMAIL PROTECTED] data]# cat postgresql.conf
# -
# PostgreSQL configuration file
# -
#
# This file consists of lines of the form:
#
#
El Dom 26 Jun 2005 22:48, Thomas Bonham escribió:
> Thanks for the help.
> The code now looks like this.
> CODE:
>
> Login
>
>
>
>
> $conn = pg_connect("user=auth dbname=auth password=redhat")
> or die ("Could not connect") ;
> echo "Connectd Successful
rd or host?
-Original Message-
From: Thomas Bonham [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 26, 2005 8:03 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Re: PostgreSQL error with PHP
I rewrote the code. This is the code and errors.
This is starting to get old, I have been working o
>> You might need to include the hostname and port.
>>
>> -Original Message-
>> From: Thomas Bonham [mailto:[EMAIL PROTECTED] Sent: Sunday,
>> June 26, 2005 6:48 PM
>> To: php-db@lists.php.net
>> Subject: Re: [PHP-DB] Re: PostgreSQL error with PH
/cis166ae/database/secretdb.php on line 10
Could not connect
Thomas
Robbert van Andel wrote:
You might need to include the hostname and port.
-Original Message-
From: Thomas Bonham [mailto:[EMAIL PROTECTED] Sent: Sunday,
June 26, 2005 6:48 PM
To: php-db@lists.php.net
Subject: Re: [
--Original Message-
From: Thomas Bonham [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 26, 2005 6:48 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Re: PostgreSQL error with PHP
Thanks for the help.
The code now looks like this.
CODE:
Login
And now the error I
You might need to include the hostname and port.
-Original Message-
From: Thomas Bonham [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 26, 2005 6:48 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Re: PostgreSQL error with PHP
Thanks for the help.
The code now looks like this.
CODE
p://us3.php.net/manual/en/function.pg-connect.php
Hope this helps,
Robbert
-Original Message-
From: Thomas Bonham [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 26, 2005 5:43 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Re: PostgreSQL error with PHP
I modafide the code some more and now with
riginal Message-
From: Thomas Bonham [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 26, 2005 5:43 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Re: PostgreSQL error with PHP
I modafide the code some more and now with the following code I get this
error.
CODE:
Login
I modafide the code some more and now with the following code I get this
error.
CODE:
Login
Parse error: parse error, unexpected '=' in
/var/www/html/thomas/cis166ae/database/secretdb.php on line 8
Thanks
Thomas Bonham wrote:
Hello All,
I’m trying to get php to connec
10 matches
Mail list logo