# ircg_whois

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

ircg_whois — Query server for user information

### Description

bool ircg_whois ( resource `$connection` , string `$nick` )

Sends a query to ask for information about the specified user.

### Parameters

`connection`

  A connection resource handle returned by ircg_pconnect().

`nick`

  The user nick name.

### Return Values

Returns `TRUE` on success or `FALSE` on failure.