AV1611 Posted January 4, 2007 Share Posted January 4, 2007 not sure how to do thisI a modding a script that does an .XLS file download. I changed the script to download .tsv instead (tab sep text)How would I mod the header stuff?[code]<?phpheader("Content-type: application/octet-stream");header("Content-Disposition: attachment; filename=FILENAME.xls");header("Pragma: no-cache");header("Expires: 0"); [/code] Link to comment https://forums.phpfreaks.com/topic/32855-file-download/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.