note 62257 added to function.mime-content-type
| From: | webmaster at cafe-clope dot net | Date: | Thu, 23 Feb 2006 13:31:15 +0000 |
| Subject: | note 62257 added to function.mime-content-type | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-104293@lists.php.net to get a copy of this message | ||
Completing <some dude AT somewhere DOT com> comment:
0 string < ? php application/x-httpd-php
and string detection on text files may fail if you check a file encoded with signed UTF-8. The UTF-8
signature is a two bytes code (0xFF 0xFE) that prepends the file in order to force UTF-8 recognition
(you may check it on an hexadecimal editor).
----
Server IP: 195.221.21.36
Probable Submitter: 217.109.152.93 (proxied: 1.1 R2D2)
----
Manual Page -- http://www.php.net/manual/en/function.mime-content-type.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+62257
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62257&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62257&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62257&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62257&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62257&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62257&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62257&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+62257&report=yes
Search -- http://master.php.net/manage/user-notes.php