php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4689 ISAPI module doesn't send header, PHP.EXE works fine.
Submitted: 2000-05-30 09:14 UTC Modified: 2000-06-09 03:30 UTC
From: jkutalek at monetplus dot cz Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Release Candidate 2 OS: WinNT4.0 SP6 PWS2.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jkutalek at monetplus dot cz
New email:
PHP Version: OS:

 

 [2000-05-30 09:14 UTC] jkutalek at monetplus dot cz
PHP used on WinNT4.0 SP6, PWS 2.0
ISAPI module doesn't send header, PHP.EXE works fine

My script is:

<?
  header("Content-Type: application/x-msexcel");
?>
<HTML>
<HEAD>
<TITLE>Document Title</TITLE>
</HEAD>
<BODY>
<TABLE>
<TR><TD>anebo</TD><TD>4564</TD><TD STYLE = vnd.ms-excel.numberformat:@>9999999999999999</TD></TR>
<TR><TD>anhjjkhbo</TD><TD>44564</TD><TD STYLE = vnd.ms-excel.numberformat:@>9999999999999998</TD></TR>
</TABLE>
</BODY>
</HTML>

Output when I use PHP.EXE:
--------------------------

HTTP/1.0 200 OK
Server: Microsoft-PWS/2.0
Date: Tue, 30 May 2000 07:08:33 GMT
X-Powered-By: PHP/4.0.0
Content-Type: application/x-msexcel

<HTML>
<HEAD>
<TITLE>Document Title</TITLE>
</HEAD>
<BODY>
<TABLE>
<TR><TD>anebo</TD><TD>4564</TD><TD STYLE = vnd.ms-excel.numberformat:@>9999999999999999</TD></TR>
<TR><TD>anhjjkhbo</TD><TD>44564</TD><TD STYLE = vnd.ms-excel.numberformat:@>9999999999999998</TD></TR>
</TABLE>
</BODY>
</HTML>

...this is exactly what I want.

But when I turn to ISAPI, I'll get:
-----------------------------------

<HTML>
<HEAD>
<TITLE>Document Title</TITLE>
</HEAD>
<BODY>
<TABLE>
<TR><TD>anebo</TD><TD>4564</TD><TD STYLE = vnd.ms-excel.numberformat:@>9999999999999999</TD></TR>
<TR><TD>anhjjkhbo</TD><TD>44564</TD><TD STYLE = vnd.ms-excel.numberformat:@>9999999999999998</TD></TR>
</TABLE>
</BODY>
</HTML>

Headers missing. Is it correct? Or is it bug?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-30 09:45 UTC] jkutalek at monetplus dot cz

Tested on MS IIS4.0 -> ISAPI works OK.
So maybe error on PWS2.0.
Or too old version...
 [2000-06-09 03:30 UTC] zeev at cvs dot php dot net
PHP 4.0's ISAPI module is not designed to work with PWS versions prior to 4.0.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Oct 18 05:01:28 2024 UTC