note 8281 deleted from header by ronabop
| From: | ronabop@php.net | Date: | Wed, 13 Sep 2000 15:39:34 +0000 |
| Subject: | note 8281 deleted from header by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4812@lists.php.net to get a copy of this message | ||
I'm coding a script which is used to download file from
my server, but I want to know the mime type of the file.
Because I send first the header("content-type : ") and the data.
If I specify a unknown content-type, the browser will
force the download, but I want the browser to recocgnize the downloaded file (as a msword or pdf
file opened with the appropriate plugins).
I hope that someone may help me. Thanks.