Hosting de Calidad
  • Inicio
  • Precios y servicios
  • F.a.q y ayudas
  • Realizar pedido
  • Webs alojadas
  • Quienes somos
  • Foro HyD
  • Contacto

    Zona Dominios

    Entrar
    registro de dominios


    Zona Hosting

    Entrar
    alojamiento web


    5 Métodos de Pago
    Tarjeta de crédito
    Domiciliación
    Transferencia
    Soporte Epagado
    Soporte Paypal

    Liberalización .es

    Ver mas
    dominios .es


  •  
     
     
    image_type_to_mime_type

    image_type_to_mime_type

    (PHP 4 >= 4_3_0)

    image_type_to_mime_type __ Get Mime_Type for image_type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype

    Description

    string image_type_to_mime_type ( int imagetype)

    The image_type_to_mime_type() function will determine the Mime_Type for an IMAGETYPE constant_

    Ejemplo 1_ image_type_to_mime_type (file)

    <?php
    header ("Content_type: "_image_type_to_mime_type (IMAGETYPE_PNG));
    ?>

    The returned values are as follows

    Tabla 1_ Returned values Constants

    imagetypeReturned value
    IMAGETYPE_GIFimage/gif
    IMAGETYPE_JPEGimage/jpeg
    IMAGETYPE_PNGimage/png
    IMAGETYPE_SWFapplication/x_shockwave_flash
    IMAGETYPE_PSDimage/psd
    IMAGETYPE_BMPimage/bmp
    IMAGETYPE_TIFF_II (intel byte order)image/tiff
    IMAGETYPE_TIFF_MM (motorola byte order) image/tiff
    IMAGETYPE_JPCapplication/octet_stream
    IMAGETYPE_JP2image/jp2
    IMAGETYPE_JPXapplication/octet_stream
    IMAGETYPE_JB2application/octet_stream
    IMAGETYPE_SWCapplication/x_shockwave_flash
    IMAGETYPE_IFFimage/iff
    IMAGETYPE_WBMPimage/vnd_wap_wbmp
    IMAGETYPE_XBMimage/xbm

    Nota: This function does not require the GD image library_

    See also getimagesize(), exif_imagetype(), exif_read_data() and exif_thumbnail()_

     
       



    registro de dominios | alojamiento web | hosting por publicidad

       

     

    Manual de linux Manual de apache Manual de php Manual de mysql Manual de SQL Manual del Plesk Como funciona Paypal Manual de html