Jump to content

PHP -> XML -> Excel


Nodral

Recommended Posts

Hi

 

I have a script which references a DB and then produces an XML output saved as XLS to then open in Excel.

 

This works an absolute dream in my dev environment using IE7 and in live using Firefox.

 

However my entire audience uses IE7 and this is where it breaks in the live environment.  For some reason, I cannot get the download to work.

 

I get a windows pop-up with an error on it - see attached.

 

If you need to see code, let me know which bit of code could possibly cause this, i.e. headers etc.

 

I've not posted code as there's loads of it and I can't understand why it works in dev in IE 7 but not in live, and works in Firefox in live.

post-102030-13482403231318_thumb.jpg

Link to comment
https://forums.phpfreaks.com/topic/256742-php-xml-excel/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.