When exporting excel files in phpexcel, you cannot download the files using IE8. when you save the files as a dialog box, the IE 6 ie7 ie9 chrome ff is normal, that is, ie8 is unavailable, after clicking the export button, the "save" dialog box pops up and closes instantly. no solution was found after I checked it online.
You can see a solution in phpexcel:
If (strpos ($ _ SERVER ['http _ USER_AGENT '], 'msi ')){
Session_cache_limiter ("public ");
}
Session_start ();
The combination of various headers fails, so I have to seek help here and hope it can be solved.
Supplement: I don't know if it is related to window. open ().
There are not many points in total. I hope you can find a solution to this post.
Reply to discussion (solution)
If there are not many codes, you can paste them out. Let's test it for you.
Ie6 ie7 ie9 chrome ff is normal, that is, ie8 is not good. after you click the export button, the save dialog box pops up and closes instantly. no solution is found after you check it online.
You can see a solution in phpexcel:
If (strpos ($ _ SERVER ['http _ USER_AGENT '], 'msi ')){
Session_cache_limiter ("public ");
}
Session_sta ...... Since it is only related to a specific browser, it is a browser problem.
Try sending a browser-compatible header. Mate Mark is
About
Header ('x-UA-Compatible: IE = 7 ');
Uncertain
Reply by referencing the author:
Ie6 ie7 ie9 chrome ff is normal, that is, ie8 is not good. after you click the export button, the save dialog box pops up and closes instantly. no solution is found after you check it online.
You can see a solution in phpexcel:
If (strpos ($ _ SERVER ['http _ USER_AGENT '], 'msi ')){
Session_cache_limiter ("public ");
}
Se ......
I tested it. the values of $ _ POST [] in IE8 are all null. it should be caused by this problem, that is, when a new page is automatically displayed during download, what should I do if the session value is not passed in?
No code ......
It seems to be a problem with the 360 browser. this problem may occur in the IE8 kernel mode of 360, and no solution has been found yet.
How does the save dialog box pop up? I don't know how to set the save as dialog box?