|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33284 CGI Error with mssqlselect
Submitted: 2005-06-09 18:53 UTC Modified: 2005-06-14 10:18 UTC
From: peter dot bernholt at hec dot de Assigned:
Status: Closed Package: CGI/CLI related
PHP Version: 4.3.11 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
32 + 4 = ?
Subscribe to this entry?

 [2005-06-09 18:53 UTC] peter dot bernholt at hec dot de
Hi all,
I am using PHP with IIS ,Windows XP and SQL Server 2000. The Function mssql_query causes an error, when there is an result of an Select-Statement (not true or false). Update, insert and delete works fine. A select with an empty table is ok, true ("true").

I am not using the "header"-function!

Regards, Peter

Reproduce code:
@mssql_select_db($database,$connection) or die( "Unable to select database");
$sqlquery="Select * FROM Tablename";
$result= mssql_query($sqlquery);

Expected result:
The Table contains one row, i would expect to get the result in $result.

Actual result:
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-14 10:18 UTC] peter dot bernholt at hec dot de
Thank you,

With the new Version it works fine..


PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 18 18:03:39 2021 UTC