alimovz Posted June 27, 2007 Share Posted June 27, 2007 Hey guys, I let my users download an excel file that gets generated on the fly pooling data from database. however I want to store the file that they download on the server so they can later download this same file that I will name, say, something unique attributable to their id. How do I do that? Here is the code I use: header("Content-Type: application/msexcel"); header("Content-Disposition: inline; filename=Leads.xls"); echo ... echo ... echo .... Link to comment https://forums.phpfreaks.com/topic/57435-application-header-how-to-store-on-the-server/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.