i have a file called test.csv on my webserver and i like to download it:
<a href="test.csv">CSV Download</a>
But the file will be opend in a browser and not downloaded.
i have a file called test.csv on my webserver and i like to download it:
<a href="test.csv">CSV Download</a>
But the file will be opend in a browser and not downloaded.
I think you have to set the Content Type check http://php.net/manual/en/function.header.php