php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #536 Crash when working with mSQL 2.01 PL B
Submitted: 1998-07-10 15:31 UTC Modified: 1998-08-13 15:04 UTC
From: doka at webest dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.1 OS: Windows NT4, sp3
Private report: No CVE-ID: None
 [1998-07-10 15:31 UTC] doka at webest dot com
Hello!

I'm using mSQL 2.01 Patch Level B under NT.
This script:

<?
 dl("msql2.dll");
 $cid = msql_connect("localhost");
 msql_selectdb("test", $cid);
 $dtbl = msql_query("select * from test1", $cid);
 echo "Rows = ".msql_num_rows($dtbl)."\n";
 while($row = msql_fetch_row($dtbl))
 echo $row[0].":".$row[1].":".$row[2]."\n";
 msql_close($cid);
?>

crashes PHP at exit (after loop, which shows num_rows and
rows itself correctly). After commenting 'msql_query'
error goes away.

/doka

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-08-13 15:04 UTC] shane
Until such a time as Hughes has an official port of the client library for msql, msql on windows is unsupported.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Aug 18 02:01:26 2019 UTC