NYCPHP Meetup

NYPHP.org

[nycphp-talk] Headers problem/Firebird

Nasir Zubair lists at ny-tech.net
Thu Dec 11 20:46:08 EST 2003


Try  text/plain  instead. I have a script that uses that same headers with
but the content-type used it text/plain and it seems to be working pretty
good, even in FB.


> -----Original Message-----
> From: Jeff Siegel [mailto:jsiegel1 at optonline.net] 
> Sent: Thursday, December 11, 2003 8:02 PM
> To: NYPHP Talk
> Subject: [nycphp-talk] Headers problem/Firebird
> 
> 
> 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
> 
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org http://lists.nyphp.org/mailman/listinfo/talk
> 
> 




More information about the talk mailing list