al Message -
From: "Maris Kalnins" <[EMAIL PROTECTED]>
To: <>
Sent: Wednesday, April 03, 2002 10:11 AM
Subject: Re: [PHP] odbc_pconnect doesnt reuse connection
> because odbc_connect takes some time to establish connection
> while odbc_pconnect establishes it once
aris Kalnins" <[EMAIL PROTECTED]>
> To: <
> Sent: Wednesday, April 03, 2002 3:07 AM
> Subject: [PHP] odbc_pconnect doesnt reuse connection
>
>
> > Hi!
> >
> > Configuration: WinXP, the latest Apache, PHP4
> >
> > The problem is that every t
Why won't you just use odbc_connect ?
- Original Message -
From: "Maris Kalnins" <[EMAIL PROTECTED]>
To: <
Sent: Wednesday, April 03, 2002 3:07 AM
Subject: [PHP] odbc_pconnect doesnt reuse connection
> Hi!
>
> Configuration: WinXP, the latest Apache, P
Hi!
Configuration: WinXP, the latest Apache, PHP4
The problem is that every time the script runs and the following command is
executed
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
it happens very often that a new connection is created instead of reusing
the old one!
Is there any idea w
Hi!
Configuration: WinXP, the latest Apache, PHP4
The problem is that every time the script runs and the following command is
executed
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
it happens very often that a new connection is created instead of reusing
the old one!
Is there any idea w
thanks, I configured php under apache as a module
now connection doesn't disappear after script is done
it stays alive..
now another problem:
first time I open connection this way..
if (empty($cx)){
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
}
if next time i will use the same constr
On Tue, 2 Apr 2002, Maris Kalnins wrote:
> Yes I am using CGI...
> So that means under Windows using Apache Server it is impossible to do that?
Can't PHP be run as a module under Apache for Windows?
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Yes I am using CGI...
So that means under Windows using Apache Server it is impossible to do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2 Apr 2002, Maris Kalnins wrote:
> I have a situation where I need to keep connection still active after php
> script is done and page displayed!
> I tried to use
>
> $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
>
> But unfortunately connection closes automatically when script i
Hi All!
I have a situation where I need to keep connection still active after php
script is done and page displayed!
I tried to use
$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);
But unfortunately connection closes automatically when script is done!
What must I do to keep connection aliv
10 matches
Mail list logo