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


  •  
     
     
    pg_get_notify

    pg_get_notify

    (PHP 4 >= 4_3_0)

    pg_get_notify __ Ping database connection

    Description

    array pg_get_notify ( resource connection [, int result_type])

    pg_get_notify() gets notify message sent by NOTIFY SQL command_ To receive notify messages, LISTEN SQL command must be issued_ If there is notify message on the connection, array contains message name and backend PID is returned_ If there is no message, FALSE is returned_

    See also pg_get_pid()

    Ejemplo 1_ PostgreSQL NOTIFY message

    <?php 
    $conn = pg_pconnect("dbname=publisher");
    if (!$conn) {
        echo "An error occured_\n";
        exit;
    }
    
    // Listen 'author_updated' message from other processes
    pg_query($conn, 'LISTEN author_updated;');
    $notify = pg_get_notify($conn);
    if (!$notify)
        print("No messages\n");
    else
        print_r($notify);
    ?>

     
       



    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