(SOLVED)Re: [PHP] setting the name of the file in Save As windows
| From: | Black Dragon | Date: | Thu, 26 Apr 2001 23:26:34 +0000 |
| Subject: | (SOLVED)Re: [PHP] setting the name of the file in Save As windows | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50527@lists.php.net to get a copy of this message | ||
> I've tried unsuccesfully to print this header after the first header:
>
> header ("Content-Disposition: attachment; filename=\"WorkPlease.zip\"");
>
It works using:
header("Content-Disposition: filename=\"WorkPlease.zip\"");
I think my browser is a bit mad :)
the rrf http://www.w3.org/Protocols/rfc2616/rfc2616
says that it must be
used the first one (with attachement) :(