homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Simple IM Script
How do you even start this thing?

 6:21 pm on Jan 10, 2006 (gmt 0)

I'm writing a simple IM client that allows a person to connect to a page, type in whatever in a textarea, hit submit, and everyone who is looking at that page can see what that user wrote right away (so, like an auto refresh thing I guess...).

Where the heck do I even start this thing? I just need some direction becasue I haven't the foggiest...




 6:29 pm on Jan 10, 2006 (gmt 0)

Sounds like you're talking about a WIKI [wiki.org].


 9:46 pm on Jan 10, 2006 (gmt 0)

Not quite what I was thinking. More along the lines of an IM client ...


 10:15 pm on Jan 10, 2006 (gmt 0)

PHP alobe, correct me if I am wrong, can not do this, you would most likely need Java

or if you mean a bulletin board, it can be done, but expect to lose at least 3 months, if you still have a day job ;)


 11:06 pm on Jan 10, 2006 (gmt 0)

Should be pretty simple with a meta refresh, a fixed length textfile (if you don't know how to work with mysql), a text field or two and a form submit button.

Unless you had registered users, private messaging and such in mind?


 11:27 pm on Jan 10, 2006 (gmt 0)

Cool, thanks everyone.


 5:56 am on Jan 11, 2006 (gmt 0)

I did some digging for this a while ago. Most of the solutions were a mix of JAvascript with PHP/MySQL.

It was mostly for one-on-one support chat, but something like This [google.ca] is what I searched for...

There are other solutions for IRC-style chatting software as Java applets as well. :P

[edited by: jatar_k at 1:32 am (utc) on Jan. 12, 2006]
[edit reason] fixed blown up link [/edit]


 8:44 pm on Jan 11, 2006 (gmt 0)

Nick, I'm trying to figure out how an IM client would use a webpage as you describe ...? My understanding is that IM relies on a central server to accept messages from thin client apps and route them to a registered recipient. If the client is currently online, the server pings an alert over to the client with various results.

It sounds like you're looking to create a chat or Wiki or some kind of forum-type thing.

Accepting that I am mistaken, but proceeding nonetheless, here are a few links from SourceForge you may find useful:

Open Source Napster Server [sourceforge.net]: The server acts as a broker and search engine for client transfers. It also features group and private chat, similar to IRC.

Voodoo Chat [sourceforge.net]: Fast, convenient, easily customized php-chat with Push-messaging (continuous updating). It can handle hundreds of simultaneous users and gives a lot of features like private messages, ignoring, user-profiles with photos, themes, etc. Uses PHP, MySQL and Javascript.

PHP Open Chat [sourceforge.net]: Web-based chat engine written in PHP. It provides mail, moderating, watch server, privat channels, ignore list, text filters, inline user images and a easy to handle admin tool.

Something like one of those, maybe?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved