dams Fri Nov 29 14:24:59 2002 EDT
Added files:
/phpdoc/en/reference/image/functions image-type-to-mime-type.xml
Removed files:
/phpdoc/en/reference/image/functions image_type_to_mime_type.xml
Log:
correcting file name
Index: phpdoc/en/reference/image/functions/image-type-to-mime-type.xml
+++ phpdoc/en/reference/image/functions/image-type-to-mime-type.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
<refentry id="function.image-type-to-mime-type">
<refnamediv>
<refname>image_type_to_mime_type</refname>
<refpurpose>Get Mime-Type for image-type returned by getimagesize,
exif_read_data, exif_thumbnail, exif_imagetype</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string </type><methodname>image_type_to_mime_type</methodname>
<methodparam><type>int</type><parameter>imagetype</parameter></methodparam>
</methodsynopsis>
<para>
The <function>image_type_to_mime_type</function> function will determine
the Mime-Type for an IMAGETYPE constant.
<example>
<title>image_type_to_mime_type (file)</title>
<programlisting role="php">
<![CDATA[
<?php
header ("Content-type: ".image_type_to_mime_type (IMAGETYPE_PNG));
?>
]]>
</programlisting>
</example>
</para>
<para>
<note>
<simpara>
This function does not require the GD image library.
</simpara>
<simpara>
See also <function>getimagesize</function>,
<function>exif_imagetype</function>, <function>exif_read_data</function>
and <function>exif_thumbnail</function>.
</simpara>
</note>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php