[PHP-DB] PostgreSQL error with php

2005-06-26 Thread Thomas Bonham
Hello All, I’m trying to get php to connect to my PostgreSQL database. The code that I’m using is below. Login Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: IDENT authentication failed for user "auth" in /var/www/html/thomas/cis166ae/database/se

[PHP-DB] PostgreSQL error with PHP

2005-06-26 Thread Thomas Bonham
Hello All, I’m trying to get php to connect to my PostgreSQL database. The code that I’m using is below. Login Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: IDENT authentication failed for user "auth" in /var/www/html/thomas/cis166ae/database/se

[PHP-DB] PostgreSQL error with PHP

2005-06-26 Thread Thomas Bonham
Hello All, I’m trying to get php to connect to my PostgreSQL database. The code that I’m using is below. Login Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: IDENT authentication failed for user "auth" in /var/www/html/thomas/cis166ae/database/se

[PHP-DB] PostgreSQL with php error

2005-06-26 Thread Thomas Bonham
Hello All, I’m trying to get php to connect to my PostgreSQL database. The code that I’m using is below. Login Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: IDENT authentication failed for user "auth" in /var/www/html/thomas/cis166ae/database/se

[PHP-DB] Re: PostgreSQL error with PHP

2005-06-26 Thread Thomas Bonham
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

Re: [PHP-DB] Re: PostgreSQL error with PHP

2005-06-26 Thread Thomas Bonham
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

Re: [PHP-DB] Re: PostgreSQL error with PHP

2005-06-26 Thread Thomas Bonham
--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

Re: [PHP-DB] Re: PostgreSQL error with PHP

2005-06-26 Thread Thomas Bonham
server running on host "localhost" and accepting TCP/IP connections on port 5432? in /var/www/html/thomas/cis166ae/database/secretdb.php on line 11 Connected Successfully Thomas Thomas Bonham wrote: I add the hostname and port, then I configure postgresql.conf and enable the port 54

Re: [PHP-DB] Re: PostgreSQL error with PHP

2005-06-26 Thread Thomas Bonham
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

Re: [PHP-DB] Re: PostgreSQL error with PHP

2005-06-27 Thread Thomas Bonham
-- # CONNECTIONS AND AUTHENTICATION #------- # - Connection Settings - # Thomas Bonham 06-25-2005 #tcpip_socket = false tcpip_socket = yes max_connections = 100 # note: increasing max_connections costs about 500 bytes of shared # memory per connection slot,

[PHP-DB] Postgre SQL query error with PHP

2005-07-01 Thread Thomas Bonham
e I can connect to the database but no query. The part of the code that is error "I Think" is the following. $query = pg_query (" SELECT * FROM property "); Thanks for the help. Thomas -- ------ Thomas Bonham [EMAIL P

Re: [PHP-DB] Postgre SQL query error with PHP

2005-07-02 Thread Thomas Bonham
gt; you have the correct permissions to work with the table. > > The warning needs to be fixed also. The pg_num_rows command only > takes one parameter. You need to remove the $dbconn parameter. > > > John DeSoi, Ph.D. > http://pgedit.com/ > Power Tools for PostgreSQL

Re: [PHP-DB] Postgre SQL query error with PHP

2005-07-04 Thread Thomas Bonham
Thanks for the help. It is working like it should. Next on the query parameters. Again Thanks for the help. Thomas On 7/2/05, Martín Marqués wrote: > El Sáb 02 Jul 2005 14:21, John DeSoi escribió: > > > > On Jul 2, 2005, at 9:17 AM, Thomas Bonham wrote: > > > > >

[PHP-DB] Inserting a php file into a mysql database

2005-12-25 Thread Thomas Bonham
Hello, I am trying to insert a php page into a database. I need to know if there is something that I need to do when setting up the table, also is there something to do with the code. Thank You for your help Thomas -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: ht