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


  •  
     
     
    Output Control Functions

    LXXVII_ Output Control Functions

    The Output Control functions allow you to control when output is sent from the script_ This can be useful in several different situations, especially if you need to send headers to the browser after your script has began outputing data_ The Output Control functions do not affect headers sent using header() or setcookie(), only functions such as echo() and data between blocks of PHP code_

    Ejemplo 1_ Output Control example

    <?php
    
    ob_start();
    echo "Hello\n";
    
    setcookie ("cookiename", "cookiedata");
    
    ob_end_flush();
    
    ?>

    In the above example, the output from echo() would be stored in the output buffer until ob_end_flush() was called_ In the mean time, the call to setcookie() successfully stored a cookie without causing an error_ (You can not normally send headers to the browser after data has already been sent_)

    See also header() and setcookie()_

    Tabla de contenidos
    flush __ Flush the output buffer
    ob_clean __  Clean (erase) the output buffer
    ob_end_clean __  Clean (erase) the output buffer and turn off output buffering
    ob_end_flush __  Flush (send) the output buffer and turn off output buffering
    ob_flush __  Flush (send) the output buffer
    ob_get_clean __  Get current buffer contents and delete current output buffer
    ob_get_contents __  Return the contents of the output buffer
    ob_get_length __  Return the length of the output buffer
    ob_get_level __  Return the nesting level of the output buffering mechanism
    ob_get_status __  Get status of output buffers
    ob_gzhandler __  ob_start callback function to gzip output buffer
    ob_implicit_flush __  Turn implicit flush on/off
    ob_start __ Turn on output buffering
     
       



    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