NYCPHP Meetup

NYPHP.org

[nycphp-talk] Headers problem/Firebird

Jeff Siegel jsiegel1 at optonline.net
Thu Dec 11 20:02:11 EST 2003


Just wondering why the headers below work well with IE but not with 
Firebird. While in both cases they prompt the user to save a file to 
disk, in the case of Firebird it tries to save the file (named 
partslist.csv) with a "php" extension.


     Header("Content-type: text/csv\n");
     Header("Content-Disposition: attachment; filename=\"$sFileName\""); 

     Header("Pragma: no-cache");
     Header("Expires: 0");

Jeff Siegel





More information about the talk mailing list