Re: Hidden File Downloads
| From: | Jason Barnett | Date: | Mon, 25 Apr 2005 18:03:48 +0000 |
| Subject: | Re: Hidden File Downloads | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213820@lists.php.net to get a copy of this message | ||
Stuart Nielson wrote:
...
> Does anybody know how to do this with php? I'm not sure how to find the
> file in the backend and kick it back to the user with the "Save As" box
> popping up. I'm thinking maybe it has something to do with headers, but
> I'm not sure. Thanks.
>
> Stuart
Usually when you send the header "application/octet-stream" this will
cause the "Save as" box.
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc