[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...
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
[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
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
[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
[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
6 matches
Mail list logo