Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: save a file on the client side



Permlink Replies: 1 - Last Post: Sep 11, 2015 7:48 PM Last Post By: Erick Engelke Threads: [ Previous | Next ]
Darryl Hoar

Posts: 1
Registered: 6/18/04
save a file on the client side
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 24, 2015 1:26 PM
Greetings,
I have the need to save a csv file on the client side.
Googled, and didn't really get what I was after.
Anybody this information or a pointer to a good source?

thanks.
Erick Engelke

Posts: 101
Registered: 12/5/02
Re: save a file on the client side
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 11, 2015 7:48 PM   in response to: Darryl Hoar in response to: Darryl Hoar
Darryl Hoar wrote:
Greetings,
I have the need to save a csv file on the client side.
Googled, and didn't really get what I was after.
Anybody this information or a pointer to a good source?

thanks.

You just need to send the right header information on the file.

header("Content-disposition: attachment; filename=$doc.$fext;");

--
Erick Engelke
HTML5 Builder Book
http://www.erickengelke.com
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02