Page 1 of 1

Get IRC chatroom data from php script?

Posted: Sun Jan 19, 2003 4:16 pm
by bznutz
I have a web site: http://www.sarcastic-bastard.com
and I have a chatroom on an irc server for this site. What I want to do is be able to list who is in the chat room from the front page of my site.
I noticed there is an IRC library for PHP but it seemed to be for running an active IRC session from the web. I don't want to do that. All I want is to take a quick peek at the chatroom to see who's there.

Any idears?

Posted: Sun Jan 19, 2003 4:55 pm
by volka
you would have to connect to the irc-server anyway and that for each request. On some irc-networks it takes quite a while.
An irc-bot (the library you found probably is) in your channel providing that kind of information sounds more reasonable.
And think of all those features a bot may provide, e.g. an infobot of some kind :roll:

Posted: Tue Jan 21, 2003 1:34 pm
by bznutz
so dude, what are you saying? Use the web server as a bot using php?

Posted: Tue Jan 21, 2003 2:14 pm
by volka
for example, although afaik irc-support is better with perl

Posted: Tue Jan 21, 2003 11:16 pm
by m3mn0n
well if you get that library, it should be farily easy to list the active users in the room with php.

maybe someone who has used it is of more help, i've yet to test it for myself. ;)

Posted: Wed Jan 22, 2003 5:03 pm
by bznutz
Crap.
Can you suggest a site or forum I can go to in order to pump more people for information?