how to build a simple Chat room
Moderator: General Moderators
how to build a simple Chat room
i want to learn how to make a simple little php chat room with banning control and admin control can anyone give me a good tutorial website for this or even help me with making some of the scripts or something please...????
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
- n00b Saibot
- DevNet Resident
- Posts: 1452
- Joined: Fri Dec 24, 2004 2:59 am
- Location: Lucknow, UP, India
- Contact:
try to look into phpMyChat for further info on this matter.
see i tried that chat room it was crappy as hell.. and it doesnt have all the features i want to have on my chatrooms i know i can get it and add to it but theres other stuff i really like to do as well... like i would like it to set at the bottom of my site where all my users can chat with everyone while playing my game im building... and i would like to have it when the user signs in the user gets login on the chat room as well..... i just want a good tutorial for this...
hi
Hi, I have experimented with many PHP chatrooms for my website. I've tried running an infinite while loop to maintain an http connection so the page would never refresh (causing it to blink). This worked for a few minutes, but inevitably it uses up too much server RAM and is very inadequate. Then I wrote a program that used hidden iframes to post to a page, that was appended to with a javascript. This works, but it required PHP sessions (that I'm not too familiar with) and my sessions always timed out. The best chat program that I've found BY FAR is an IRC based chat from http://www.everywherechat.com . It is the perfect chat, and it's free. I wouldn't use anything else. All it requires is you posting a simple java applet code on an HTML page.
well here's a good tutorial that shows you how to build one that you can modify yourself.
http://code.jenseng.com/jenChat/
http://code.jenseng.com/jenChat/
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
..why dont u just use some extreamly simple php based mesage board and just throw in a metta refresh tag for refresh every half second because that is all the jenChat does
. hell u can even use txt files and leave out all the javascript. if you want a real live feed script you have to use either somthing irc based or use java
well for 1 like i said i want to build my own all im going to do is look at jenChat and see how its setup and stuff.. for 2 i want a php chat room and it will refresh every 20 seconds... and for 3 i dont like irc programs they aint my thing to use and on java part im going try and make one later on after i learn Java......