[nycphp-talk] Headers problem/Firebird
Jeff Siegel
jsiegel1 at optonline.net
Fri Dec 12 06:35:37 EST 2003
Hmmmm...it still wants to save it as a php file but even with the
suggested change.
Jeff
Nasir Zubair wrote:
> 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
>>
>>
>
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
--
Found on the Simpson's Website:
"Ooooooh, they have the internet on computers now!"
More information about the talk
mailing list