note 80460 added to function.get-headers
| From: | dxtrim at yahoo dot com | Date: | Thu, 17 Jan 2008 09:16:11 +0000 |
| Subject: | note 80460 added to function.get-headers | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135160@lists.php.net to get a copy of this message | ||
Content-Type returns a value depending only on the extension and not the real MIME TYPE.
So, bad_file.exe renamed to good_file.doc will return application/msword
A file without extension returns a 404.
----
Server IP: 87.238.162.147
Probable Submitter: 80.200.81.160
----
Manual Page -- http://www.php.net/manual/en/function.get-headers.php
Edit -- https://master.php.net/note/edit/80460
Del: integrated -- https://master.php.net/note/delete/80460/integrated
Del: useless -- https://master.php.net/note/delete/80460/useless
Del: bad code -- https://master.php.net/note/delete/80460/bad+code
Del: spam -- https://master.php.net/note/delete/80460/spam
Del: non-english -- https://master.php.net/note/delete/80460/non-english
Del: in docs -- https://master.php.net/note/delete/80460/in+docs
Del: other reasons-- https://master.php.net/note/delete/80460
Reject -- https://master.php.net/note/reject/80460
Search -- https://master.php.net/manage/user-notes.php