php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6094 Crash when getting results from 2 different db-tables.
Submitted: 2000-08-10 23:31 UTC Modified: 2000-11-24 06:57 UTC
From: mhaase at funfood dot de Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.1pl2 OS: Win NT 4.0 SP6
Private report: No CVE-ID: None
 [2000-08-10 23:31 UTC] mhaase at funfood dot de
Hi Folks,
had this problem with odbc, thougt it was an odbc module problem, but now i got it on mssql too, so I guess its more....

Do this:
$con1 = odbc_connect(dsn1, User, pass);
$cur1 = odbc_exec($con1, "SELECT * FROM dsn1");
$con2 = odbc_connect(dsn2, User, pass);
$cur2 = odbc_exec($con2, "SELECT * FROM dsn1");

and php will crash, same with mssql.

contact me for further details.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-10 23:34 UTC] mhaase at funfood dot de
Hi Folks,
had this problem with odbc, thougt it was an odbc module problem, but now i got it on
mssql too, so I guess its more....

Do this:
$con1 = odbc_connect(dsn1, User, pass);
$cur1 = odbc_exec($con1, "SELECT * FROM table");
$rows = odbc_fetch_row($cur1);
$con2 = odbc_connect(dsn2, User, pass);
$cur2 = odbc_exec($con2, "SELECT * FROM table");
$rows = odbc_fetch_row($cur2);
and php will crash, same with mssql.

contact me for further details.


 [2000-11-21 04:11 UTC] sniper@php.net
Does this happen with PHP4.0.3pl1 ?

--Jani
 [2000-11-24 06:56 UTC] mhaase at funfood dot de
Doesnt happen anymore with php 4.03pl1.
Great!!!!
Thanks!

 [2000-11-24 06:57 UTC] mhaase at funfood dot de
*G*
forgot to close it ;-)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 11:00:01 2026 UTC