Link to home
Start Free TrialLog in
Avatar of Xerc
Xerc

asked on

How to / or best methods to show IRC chat in a browser in real time?

I'd like to have a browser window display the stream of an IRC chat room.  Actually, I'd like 4 chats displayed at the same time.  I've had no trouble connecting PHP to my IRC server.  Creating bots in a few minutes was no big deal.  In any case my issue is figuring out the best way to / how display a IRC chat in a regular web browser without an ugly refresh.  I imagine Javascript is the way to go, but as I'm not at all good with this, some examples or web references would be helpful.  Also, is there any concern about the duration the browser can remain open?  Ideally I'll be doing this for a large display, so I won't want to restart the computer and/or browser.  I'm not sure if this causes some form of memory leak, etc.  Thanks in advance for the advice.
ASKER CERTIFIED SOLUTION
Avatar of aldanch
aldanch
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Xerc
Xerc

ASKER

Well, your solution was the only one I could find / see, so awarding points.  For what it is worth, in the end we decided just to abandon IRC in favor of our own Ajax / PHP / MySQL web chat.  We lose out on have a separate chat client and of course all the nice bots and eggdrops, but since the core need is a web based chat, it is easier this way.  Shame there isn't something easier.  We did look at Jabber / XMPP as well, but after trying three different servers, each failed after some time and we didn't want the overhead of making it stable or figuring our best web interface.
I totally understand. I ended up going with some custom AJAX/PHP/MySQL myself :-/

Thanks and good luck.