coopster

msg:1279561 | 10:09 pm on Apr 30, 2006 (gmt 0) |
IE is indeed a pain. All you can do is send the correct headers and the rest depends on the user's browser setup. Yes, spoofing the url also helps with IE. What headers are you currently firing?
|
ruffain

msg:1279562 | 4:08 am on May 1, 2006 (gmt 0) |
Hi coopster . Here is my header ?> header("Content-Type: application/vnd.ms-excel"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); <? Thanks for your time in advance.
|
beno9487

msg:1279563 | 10:03 am on May 1, 2006 (gmt 0) |
Try this. I have had the same probs. application/vnd.msexcel
|
ruffain

msg:1279564 | 11:16 am on May 1, 2006 (gmt 0) |
Hi Beno Thanks for your help But the header line that this is in, has to be removed before it will display in my browser, other wise it wants to down load a file . I don't want to down load the file just display as a page. Ruffain
|
hakre

msg:1279565 | 10:34 am on May 2, 2006 (gmt 0) |
just a silly question, but shouldn't your code ?> header("Content-Type: application/vnd.ms-excel"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); <?
be that way: [b]<?[/b] header("Content-Type: application/vnd.ms-excel"); header("Expires: 0"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); [b]?>[/b]
? --hakre
|
ruffain

msg:1279566 | 12:03 pm on May 3, 2006 (gmt 0) |
Yes you are correct harke good eye. the start and end tag is correct in my code . But i had to look after your post. lol Thanks to all that have looked at my post but i still have the same problem.Please help i'm pulling me hair out... Ruffain
|
hakre

msg:1279567 | 7:18 am on May 4, 2006 (gmt 0) |
ruffain, do i get you right this way: you want IE to display the excell spreadsheet directly in the browserwindow as a so called "active document" ("office plugin for ie")? and further, the file is displayed within IE but the in the file contained macros are not executing? what i would do is to place a that kind of spreadsheet file directly on the server and request it without php inbetween, then analyzing that request incl. the headers. use php later on to simulate the complete same behavior, maybe ajoute mod_rewrite to completely fake the request (which should not be necessary with your example URL). --hakre
|
ruffain

msg:1279568 | 7:59 am on May 4, 2006 (gmt 0) |
Hi harke at this point i'm will to try any thing . could i send you my code some how and you show me what you mean? thanks Ruffain
|
|