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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.