Ajax Chat
Php based Ajax Chat. It's an easy to use ajax chat script, it has spam filter capability and it only needs 3 files (index.html, w.php and chat.txt) Index.html reads the content & sends your message to w.php. w.php writes the content and prunes it to $maxlines lines
esto es un comentario
Its to slow for chat!
aaawwwweeeeesssssssooooooooommmmmmeeeeeee.. let me steal it.. heeheheh
Its not too slow, its quite nice. Good job.
nice but too slow refreshing
Sorry but I don't like the design =(
not slow for chat, maybe you can change this variable for better performance var waittime=800
Is it available for Windows xp?
itz very nice
Gear up for grub with a tripleheader of pigskin, including a meeting of brothers in Dallas. Everybody knows it's been a rough year for her, but find out who else had issues
i wonder if this would be easily intergratable with mysql or if a xml has to be used as an intermediate between the two.
at least better then my chat lol
Nice script..but slow for a chat..
Why this script doesn't support Russian language? How can i use it with Russian?
its very good
seems to be very better and simple
time(/date) integration would be great. Would be easy to do too
can i use this in the blog?
Doesn't this just hit the server repeatedly, polling for info? If so, what are the performance implications with say, 200 ish users (with wait at 800ms that means you are getting more than 200 requests every second).
Wow ....Its Great!!!!
hi! i am majid my id is abdulmajid11@hotmail.com please guide me if i can get a asp.net virsion for this chat script.... i would be waiting for your response
as an answer to the speed question: the chat script got dugg and mentioned on wired last year and stayed up even on a medium-quality hoster without any problems... since the requests are small in size, it was able to handle a few hundret (or even more) users at once. and yes, you can use it in your blog, your homepage or whereever you want. just need to include the html tag and the javascript, and on the backend side the w.php and a writeable chat.txt.
good thinking
I have a problem... the chat is ok, but when i want to validate for xhtml 1.1 it has this error: ajax_write("w.php?m=" + msg + "&n=" + nick); I have used: "&" but i don't see the nickname... how can i resolve it?
sorry... i have used &
sorry... i have used & amp ;
I have tried with opera and with explorer and it is ok, instead with firefox it isn't goes
i see the "chatwindow" without messages if i use firefox
Cool! but it don't support utf-8 characters like: سلام
hi, can we see the old msgs... ?
how are u guys
esto es una prueba
how can i get this to work using visual studio? The text file is not being updated when the add button is being pressed.....thanks
Nice script but there is a bug with IE and I can't found where it is, surely in javascript somewhere : You can't type twice same thing. Ex: you send just the mord 'yes' then some others line and want to say 'yes' again, nothing happen... :(
How can I use this?
No acepta acentos ni ñ. Imposible type in spanish. No ñ, No á é í ó ú.
How to protect this script, so nobody can submiting a chat message using that url into browser.. Thanks
cool,,, very interested, permission copying for study, thank's bro,,,
hows it goin
thank you for code
Whan I save the file.html in file.php, the chat does not work. Why and how can I solve it ?
latin charachters arent support
it's great , i liked it.it works like shout box.
best script on earth...i really like this script
thnx great script
Nice concepts and code.....
i have the same problem with Ram. I use visual Studio, when I pressed the button Add Nothing happen.
Not UTF-8???
Russians here??
I solved it for the Russian language. Should use the JS encodeURIComponent method - like this ajax_write("w.php?m=" + encodeURIComponent(msg) + "&n=" + encodeURIComponent(nick)); And you may write whatever necessary, charsets to hell... Are Americans going to win, you think???
How i can write in Arabic in this chat?
all your base are balong to us
google chrome won't work for this?
it doesn'tworks at all with firefox
This ajax chat is very noob-like, but a good start for beginners. First off, why would you ever even consider returning the entire message log on every response???? Yeah, I'm using firebug :D Suggestion 1, load it and only return new content since load. Suggestion 2, If no message has been received in longer than 5mins then delay the checking a bit. Suggestion 3, with about 15 lines of code you could include HTML5 sounds (all major browsers) for user online, user offline, message send and message receive. TLDR; Do not use this chat in any kind of production. Only use it to learn how to make a proper chat.
sorry admin..this script dosent work.... dhaka,bangladesh
How to apply this ?
Doesn't work anymore. Can you fix it?
Doesn't work in FireFox anymore. It used to work for me like a year ago. Is there a fix or reason why this script stopped working?