[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/features/_commandline.xml?=
From: Christopher_Jones <sixd () php ! net>
Date: 2013-10-25 19:23:31
Message-ID: svn-sixd-1382729011-331968-99708208 () svn ! php ! net
[Download RAW message or body]
sixd Fri, 25 Oct 2013 19:23:31 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=331968
Log:
Note the version .ogg/.ogv/.webm were added in.
Mention new .pdf MIME type.
Update the unsupported MIME type example to use a MIME type that doesn't exist.
Changed paths:
U phpdoc/en/trunk/features/commandline.xml
Modified: phpdoc/en/trunk/features/commandline.xml
===================================================================
--- phpdoc/en/trunk/features/commandline.xml 2013-10-25 16:00:40 UTC (rev 331967)
+++ phpdoc/en/trunk/features/commandline.xml 2013-10-25 19:23:31 UTC (rev 331968)
@@ -1633,9 +1633,12 @@
<para>
Standard MIME types are returned for files with extensions: .css,
- .gif, .htm, .html, .jpe, .jpeg, .jpg, .js, .png, .svg, and .txt.
+ .gif, .htm, .html, .jpe, .jpeg, .jpg, .js, .ogg, .ogv, .pdf,
+ .png, .svg, .txt, and .webm.
The .htm and .svg extensions are recognized from PHP 5.4.4
- onwards.
+ onwards. The .ogg, .ogv, and .webm extensions are recognized from
+ PHP 5.4.11 onwards. The .pdf extension is recognized from PHP
+ 5.5.5 onwards.
</para>
<example>
@@ -1753,8 +1756,8 @@
<?php
// router.php
$path = pathinfo($_SERVER["SCRIPT_FILENAME"]);
-if ($path["extension"] == "ogg") {
- header("Content-Type: video/ogg");
+if ($path["extension"] == "el") {
+ header("Content-Type: text/x-script.elisp");
readfile($_SERVER["SCRIPT_FILENAME"]);
}
else {
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic