Welcome Guest, Not a member yet? Register   Sign In
Best CSV exporter?
#4

[eluser]CroNiX[/eluser]
yeah, you need to send a different header if you don't want the browser to parse the content.

Try sending (using the real filename) just before you output it:
header('Content-disposition: attachment; filename=filename_of_your_csv.csv');
header('Content-type: text/csv');


Messages In This Thread
Best CSV exporter? - by El Forum - 10-11-2010, 09:31 AM
Best CSV exporter? - by El Forum - 10-11-2010, 12:03 PM
Best CSV exporter? - by El Forum - 10-11-2010, 02:03 PM
Best CSV exporter? - by El Forum - 10-11-2010, 02:24 PM
Best CSV exporter? - by El Forum - 10-11-2010, 02:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB