ircg_topic> <ircg_set_file
Last updated: Mon, 28 Dec 2009

ircg_set_on_die

(PHP 4 >= 4.2.0, PHP 5 <= 5.0.5)

ircg_set_on_die — Seta acção para ser executada quando a conexão fechar

Descrição

bool ircg_set_on_die ( resource $connection , string $host , int $port , string $data )

Em caso de finalização da conexão connection IRCG irá conectar para host na port (Note: host deve ser um endereço IPv4, IRCG não resolve nomes de host bloqueando seu uso), envia data para uma nova conexão com o host e irá aguardar até que o servidor remote feche a conexão. Isso pode ser usado como gatilho de um script PHP por exemplo.

Esse recurso requer IRCG 3.



User Contributed Notes
ircg_set_on_die
cysk at gmx dot de
05-Aug-2002 01:12
Remember that this is one of the functions which is only available in the enterprise version of the ircg library (currently ircg 3.0).

So this software is not realy 100% open-source, which is a bit poor..... :-(

ircg_topic> <ircg_set_file
Last updated: Mon, 28 Dec 2009