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
because odbc_connect takes some time to establish connection
while odbc_pconnect establishes it once after that it suppose to
give faster access through already existing connection!
that's what I got from php manual..
the bad thing is .. that in reality it works a little bit different..
so I am w
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, PHP4
>
> The problem is that every ti
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
7 matches
Mail list logo