Page 1 of 1

File loads from Temporary Internet Files

Posted: Fri Aug 12, 2005 8:38 am
by bluesman333
Users are downloading a list of our products on a daily basis, sometimes multiple times a day. It looks like the file they are presented with is from Temporary Internet Files rather than the file that is on the server.

$file = 'Product_List'.date("Y_m_d_Gis").'.xls';
header('Content-type: application/msexcel');
header('Content-Disposition: attachment; filename='."$file");
readfile("excel_sheet/Product_List.xls");

Any suggestions?

Posted: Fri Aug 12, 2005 8:42 am
by feyd
no-cache, private, blah blah..


This is not a General thread...


Moved to PHP - Code.