ID:               21400
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         COM related
 Operating System: Win 2000
 PHP Version:      4.3.0
 New Comment:

Here's some more info:

It should be noted that the Excel spreadsheet and its macros *actually
do work*, even though PHP or Apache or whoever it is is sending a 404. 
I know this, because after I'm done with Excel, I stream its HTML
output file using readfile() and flush().  If I put a sleep() right
after the readfile() and flush(), I can see the spreadsheet and chart
in the browser.  As soon as the sleep() expires and the script
terminates, I get the 404.  The HTML file that Excel created still
exists, I can enter its URL in my browser and view it OK.

Working back and commenting out stuff, I found that selecting or
writing to cells in any column other than "A" causes the 404 to happen.
 Unfortunately, my Excel macros don't work too well when I do that. 
;-)


Previous Comments:
------------------------------------------------------------------------

[2003-01-03 17:01:58] [EMAIL PROTECTED]

When using COM to write to an Excel spreadsheet, my PHP script can
write to cells in column "A", but when I try to write to cells in any
other column, the script appears to terminate without sending anything
to the browser (a 404 response).  

The script works OK with 4.2.3, except an Excel "zombie" process
remains after the script is finished (this "zombie" bug appears to be
fixed with 4.3.0, only to introduce this new problem).

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21400&edit=1

Reply via email to