From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.1.2
PHP Bug Type:     MSSQL related
Bug description:  CGI application misbehaved by not returning a complete set of

I have the same set of php scripts, php 4.0.6 CGI running on:
1-Windows NT 4.0 with IIS4, MySQL, MS-SQL 7; this works fine;
2-Windows 2000 server with IIS5, MySQL, MS-SQL 7; this works fine;
3-Windows 2000 advanced server with IIS5, MySQL, MS-SQL 7; this works
fine;
4-Windows 2000 advanced server with IIS5, MySQL, MS-SQL 2000; this still
works except that a curious error occurs:
Im using a lot of Header ("location: some.php") for redirections. In this
particular installation, right after the call of header function, the
browser
still gets the right URI, but then it issues the following error (a copy
again here):
<message>
CGI ERROR
CGI application misbehaved by not returning a complete set of
headers.The headers that it did return are:
</message>
The funny thing was that if I refresh the page then it works just fine.

When I look back at the 4 installations, the only difference was the
installation 4: MS-SQL 2000. 

I later made another test: from the installation 3, I made an upgrade of
MS SQL from 7.0 to 2000. The same problem happened. 

I have tested with php 4.1.2 and 4.0.6. I had the same symptoms with both
versions

Is there anything in php_mssql that does the job with MS-SQL 2000 but has
some sort of side-effect that causes the above strange bug?

Would any one spend time looking into the code? It
would help us a lot. 

Thank you very much!

Loi Le V.

-- 
Edit bug report at http://bugs.php.net/?id=16411&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16411&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16411&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16411&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16411&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16411&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16411&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16411&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16411&r=submittedtwice

Reply via email to