PHP: ircg_set_on_die - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ircg_topic ircg_set_file

Last updated: Fri, 26 Jan 2007

view this page in

# ircg_set_on_die

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

ircg_set_on_die -- Set action to be executed when connection dies

## Description

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

In case of the termination of connection `connection` IRCG will connect to `host` at `port` (Note: host must be an IPv4 address, IRCG does not resolve host-names due to blocking issues), send `data` to the new host connection and will wait until the remote part closes connection. This can be used to trigger a PHP script for example.

This feature requires IRCG 3.

add a note User Contributed Notes
ircg_set_on_die
cysk at gmx dot de
05-Aug-2002 09: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..... :-(`
add a note
ircg_topic ircg_set_file

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST