RE: [PHP] new connection with pg_pconnect

2004-10-19 Thread Jonathan Villa
> [snip] > I then have the page main.php which has > > 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 funct

RE: [PHP] new connection with pg_pconnect

2004-10-14 Thread Pablo Gosse
[snip] I then have the page main.php which has '.$dbconn.'<-'; ?> the scripts just dies whenever I include the pg_connect function... if I change echo '->'.$dbconn.'<-'; to echo '->==='.$dbconn.'<-'; I'll still see -><- on my page if I remove the pg_connect function, I'll see ->===<-;

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 p

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 fun

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 gl

[PHP] new connection with pg_pconnect

2004-10-14 Thread Jonathan Villa
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 global va