Descriptionbool ircg_set_on_die ( resource connection, string host, int port, string data )
In case of the termination of the
will connect to the specified
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.
A connection resource handle returned by ircg_pconnect().
This must be an IPv4 address as IRCG does not resolve host-names due to blocking issues.
The port number.
The data to be sent before closing the connection.