RE: [PHP] new connection with pg_pconnect

2004-10-19 Thread Jonathan Villa
[snip] I then have the page main.php which has ?php global $sys_dbhost,$sys_dbuser,$sys_dbpasswd; $dbconn = pg_connect(user=$sys_dbuser dbname=bisprojects host=$sys_dbhost password=$sys_dbpasswd); echo '-'.$dbconn.'-'; ? the scripts just dies whenever I include the pg_connect function...

RE: [PHP] new connection with pg_pconnect

2004-10-14 Thread Pablo Gosse
[snip] I'm trying to add some new features to an existing project. The project uses pg_pconnect and sets it into a global var... What I'm trying to do is to create a new database class which connects to a different database on the same server. By the time my code gets reached, the pg_pconnect

Re: [PHP] new connection with pg_pconnect

2004-10-14 Thread Greg Donald
On Thu, 14 Oct 2004 14:30:18 -0500 (CDT), Jonathan Villa [EMAIL PROTECTED] wrote: I'm assuming that I need to close the persistent connection before I can open a new one, but from my understanding, persistent connections cannot be closed... That is true for all persistant db connection

RE: [PHP] new connection with pg_pconnect

2004-10-14 Thread Jonathan Villa
[snip] I'm trying to add some new features to an existing project. The project uses pg_pconnect and sets it into a global var... What I'm trying to do is to create a new database class which connects to a different database on the same server. By the time my code gets reached, the

RE: [PHP] new connection with pg_pconnect

2004-10-14 Thread Pablo Gosse
[snip] I then have the page main.php which has ?php global $sys_dbhost,$sys_dbuser,$sys_dbpasswd; $dbconn = pg_connect(user=$sys_dbuser dbname=bisprojects host=$sys_dbhost password=$sys_dbpasswd); echo '-'.$dbconn.'-'; ? the scripts just dies whenever I include the pg_connect function... if I