IRC Gateway
PHP Manual

ircg_get_username

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

ircg_get_username — Get username for connection

Description

string ircg_get_username ( resource $connection )

ircg_get_username() returns the username for the specified connection connection .

Parameters

connection

A connection resource handle returned by ircg_pconnect().

Return Values

Returns the username, or FALSE on error.


IRC Gateway
PHP Manual