Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

ircg list function syntax tag tutorial 2013 Donate at flattr Flattr this

Alert! Connect with 10,000 Chating Online. Join Now

Php ircg list () function

Write your php code

<?php ?>

Php Result

Your code below

(PHP 4 >= 4.3.3, PHP 5)

ircg_list -- List topic/user count of channel(s)


bool ircg_list ( resource connection, string channel )

ircg_list() will request a list of users in the channel. The answer is sent to the output defined by ircg_set_file() or ircg_set_current(). Returns TRUE on success or FALSE on failure.

Example 1. ircg_list() example


// connect to server
$id = ircg_pconnect($nickname, $ip, $port);

// set to output to a file
ircg_set_file($id, 'irc_output.html');

// try to join a channel
if (!ircg_join($id, $channel)) {
"Cannot /join $channel<br />";

// send list command
ircg_list($id, $channel);

// wait for output to arrive

// disconnect
ircg_disconnect($id,'Bye World');

// output everything


This example will output something similar to:

Channel #channel has n users and the topic is 'Topic'
End of LIST

See also: ircg_set_file(), ircg_set_current(), and ircg_who().

Php ircg list Function syntax tag

ircg list php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online

Php ircg list syntax tutorial

php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.

Function index







Date & Time

Directory function




Form data handling

Mathematics operators


Php Mysql

Network Functions


php tutorial guides,functions, classes, code examples and tags for creating simple dynamic site to mysql database driven sites
Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online