I am writing a program where my users go on line, enter their data and send it to me in a csv format.
right now they are able to enter thier data, open the attachment, save it, and then email it to me.
I would like to by pass the open part and and just email it to me.
header( 'Content-Type: text/csv' );
header( 'Content-Disposition: attachment;filename=export.csv' );