Solved

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

Posted on 2008-10-19
3
431 Views
Last Modified: 2013-12-13
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.
0
Comment
Question by:Xerc
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
aldanch earned 500 total points
ID: 22759834
I have tried to do something similar in the past. I tried everything from Javascript to Flash. The only simple on I found was http://cgiirc.org/

It's not pretty but it is customizable. Hope this helps! I will be monitoring this question because I am curious as to what else is out there myself.
0
 

Author Comment

by:Xerc
ID: 22815361
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.
0
 
LVL 8

Expert Comment

by:aldanch
ID: 22815392
I totally understand. I ended up going with some custom AJAX/PHP/MySQL myself :-/

Thanks and good luck.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP website on Linux - server DNS address could not be found. 18 88
$_SERVER Variable question 31 56
BGP Local Preference 5 49
MySqli Real Escape String and SQL Injection 1 50
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question