Set content type to download file - opinion
mime_content_type
(PHP 4 >= 4.3.0, PHP 5, PHP 7)
mime_content_type — Detect MIME Content-type for a file
Description
mime_content_type ( resource|string ) : string|false
Returns the MIME content type for a file as determined by using information from the file.
Parameters
Path to the tested file.
Return Values
Returns the content type in MIME format, like or , or on failure.
Errors/Exceptions
Upon failure, an is emitted.
Examples
Example #1 mime_content_type() Example
The above example will output:
Josh Sean ¶
Anonymous ¶
webmaster at cafe-clope dot net ¶
Bond Akinmade ¶
svogal ¶
Bob ¶
Sune Jensen ¶
memi aet liip doet ch ¶
geompse ¶
Anonymous ¶
john dot howard at prismmg dot com ¶
tree2054 using hotmail ¶
David Spector ¶
php [spat] hm2k.org ¶
Quis at IHAVEGOTSPAMENOUGH dot omicidio dot nl ¶
some dude AT somewhere DOT com ¶
ginnsu at arcee dot ca ¶
alex at webedge dot ca ¶
jacopo dot mazzoni at gmail dot com ¶
mami at madagascarsurlenet dot com ¶


Pity, that: Set content type to download file
DOES DOWNLOADING TORRENTS WITH FDM | |
JAVASCRIPT DOWNLOAD BLOB DATA AS FILE | |
AI WO KOMETE UMI TESHIMA PIANO VERSION DOWNLOAD | |
CROSSHAIR MOD 1.7.10 DOWNLOAD |
0 thoughts to “Set content type to download file”