Date: 09/30/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6263 Updated: mcrypt 2.2.4 support broken"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6263 Updated: mcrypt 2.2.4 support broken"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: antosj <email protected>
Operating system: Win98
PHP version: 4.0.2
PHP Bug Type: InterBase related
Bug description: Connection won't close
the script goes as follows:
<?php
$spojeni = ibase_connect($host,"guest","guest");
$vys = ibase_query("select * from vyrobky;", $spojeni);
$i = 0;
while ($sql = ibase_fetch_object($vys)) {
echo " <TR>\n <TD><B>".++$i.".</B></TD>\n";
echo " <TD>".$sql->JMENO."</TD>\n";
echo " <TD>".$sql->VYROBCE."</TD>\n";
echo " <TD> </TD>\n";
echo " <TD> </TD>\n </TR>";
}
ibase_close($spojeni);
?>
When the script finishes, connection will stay opened. I also tried to call ibase_close without parametrs but with the same result. I found this because my Interbase server crashes after opening the page 32 times and thus making 32 connections - I didn't figure out yet why 32, but it might be because of some IB setting. It's probably not fault of PHP.
When I connect over ODBC, everything is going fine. Error is probably in php-interbase.dll.
I am running PHP 4.0.2 on PWS 4.0 on Win98. My Interbase server is WI-V6.0.0.627
If you need more info - PHPInfo() could be found on maschina.buk.cvut.cz/info.php - the computer doesn't run all the time, but most of day it does.
Thanx, Jan Antos.
P.S. otherwise, PHP is great, many thanks to all, who develop it!
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6263 Updated: mcrypt 2.2.4 support broken"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #6263 Updated: mcrypt 2.2.4 support broken"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

