This is what I do to "force" excel docs to be downloaded...
Header("Content-Type: application/vnd.ms-excel");
This tells the browser that it's an Excel file.
Header("Content-Disposition: attachment; filename=general-data.xls");
This tells Microsoft browsers (who I think made up all the stuff in thi
On Mon, April 25, 2005 11:47 am, Philip Hallstrom said:
>>> Does anybody know how to do this with php? I'm not sure how to find
>>> the
>>> file in the backend and kick it back to the user with the "Save As" box
>>> popping up. I'm thinking maybe it has something to do with headers,
>>> but
>>> I
Does anybody know how to do this with php? I'm not sure how to find the
file in the backend and kick it back to the user with the "Save As" box
popping up. I'm thinking maybe it has something to do with headers, but
I'm not sure. Thanks.
Stuart
Usually when you send the header "application/octet
3 matches
Mail list logo