Jump to content

Browser don't recognize the new updated text file for download.


ask9

Recommended Posts

Hello guys.

 

I have this php script that will read records from mysql table and save it into text file (.CSV).

Now i created a download link to that text file so a user can download that and then he

can use and open it in the  MS excel or openoffice.

 

The problem is everytime my script auto updates the .CSV content and when

i download the file using the 'download link' that i created, the content stay the same.

 

Can you guys advice how to fix this problem, i checked my script and database

and tested it and they worked very fine i noticed it's the browser that is causing the problem.

 

Any good advice or suggestion you can give.

 

Thanks in advance.

 

 

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.