PHP and FreeTDS problem
tangelis at tasos.gr
Mon Oct 11 08:15:36 EDT 1999
You can try a mssql_close or not.
The effect is just the same.
The php manual also says that when a script finishes, the connection
is closed, even if you are not using a mssql_close, in the case of a
In the case of a persistent connection the mssql_close does not closes
the connection. http://www.php.net/manual/function.mssql-close.php3
But I used all the combinations. Persistent, no persistent, with mssql_close
or not, but the effect is the same.
From: Brian Bruns <camber at umcc.ais.org>
To: TDS Development Group <freetds at franklin.oit.unc.edu>
Date: ÄåõôÝñá, 11 Ïêôùâñßïõ 1999 2:16 ìì
Subject: [freetds] Re: PHP and FreeTDS problem
>Forgive me if I'm just not seeing it, but there is no mssql_close() to
>close the connection when done.
>On Mon, 11 Oct 1999, Tasos Angelis wrote:
>> >Can you post a small script demonstrating the problem so I can try to
>> >replicate it here?
>> Yes of course.
>> The script follows. I use the persisten connection in it.
>> I also used it with standard connection.
>> I forget to say that I use the 0.47beta version of FreeTDS.
>> The Artists table has got 2 columns. An integer and a varchar(50).
>> The script follows:
>> <tr><td colspan=2>PlayList from Tempo</td></tr>
>> <tr><td colspan=2>Could not connect to Tempo</td></tr>
>> $what=mssql_query("select * from Artists",$res);
>> echo "<tr><td>$id</td><td>$name</td></tr>";
>You are currently subscribed to freetds as: tangelis at tasos.gr
>To unsubscribe, forward this message to
More information about the FreeTDS