Ajax Chat

Read more and download "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




Web 2.0 Box Generator


Play with this script by changing the html bellow. Submit your changes by clicking on this bar. Refresh the page to reset changes.
Play with this script by changing the html above. Submit your changes by clicking on this bar. Refresh the page to reset changes.

Comment on this example

Name
Url
Comment
Captcha
 

 

1
Unicode
2010-01-26 16:12:23
Not UTF-8???

2
XXx
2009-12-20 22:31:51
i have the same problem with Ram. I use visual Studio, when I pressed the button Add Nothing happen.

3
Burak
2009-10-22 03:39:01
latin charachters arent support

4
Ram
2009-06-09 06:12:02
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

5
Ravikumar V.
2009-03-09 23:36:03
hi, can we see the old msgs... ?

6
Honar
2009-03-05 09:55:10
Cool! but it don't support utf-8 characters like: سلام

7
Tonino
2009-01-08 13:31:12
I have found the cause: < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" > how can i fixed?

8
Tonino
2009-01-08 13:30:00
I have found the cause: how can i fixed?

9
Tonino
2009-01-08 12:32:15
i see the "chatwindow" without messages if i use firefox

10
Tonino
2009-01-08 11:40:36
I have tried with opera and with explorer and it is ok, instead with firefox it isn't goes

11
Tonino
2009-01-08 02:53:50
sorry... i have used &

12
Toino
2009-01-08 02:51:59
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?

13
Vimal
2008-11-25 00:48:53
good thinking

14
Chris
2008-11-23 01:39:37
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.

15
Majid
2008-11-16 12:53:44
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

16
What
2008-09-12 09:41:23
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).

17
Mahdi
2008-07-02 14:41:24
can i use this in the blog?

18
Datacide
2008-06-25 13:57:10
time(/date) integration would be great. Would be easy to do too

19
Rajith
2008-06-20 03:50:42
seems to be very better and simple

20
Thiru
2008-06-04 04:39:18
its very good

21
WineX
2008-06-03 00:41:54
Why this script doesn't support Russian language? How can i use it with Russian?

22
Ikea
2008-05-06 02:07:58
Nice script..but slow for a chat..

23
Dubai
2008-05-05 19:36:30
at least better then my chat lol

24
Rob
2008-03-07 15:52:16
Cool look

25
Dharmesh
2008-01-28 06:32:17
nice one

26
Ben
2007-12-02 17:11:40
i wonder if this would be easily intergratable with mysql or if a xml has to be used as an intermediate between the two.

27
Jennifer
2007-11-22 03:29:40
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

28
Srilekha
2007-10-05 05:09:18
itz very nice

29
Jacques De Molay
2007-09-14 02:27:30
Is it available for Windows xp?

30
Roturkiye
2007-09-08 08:10:21
not slow for chat, maybe you can change this variable for better performance var waittime=800

31
Mark
2007-08-23 22:35:57
Sorry but I don't like the design =(

32
Stan
2007-08-14 09:58:20
nice but too slow refreshing

33
FlashStr
2007-08-03 03:50:36
Its not too slow, its quite nice. Good job.

34
It2051229
2007-07-17 20:14:48
aaawwwweeeeesssssssooooooooommmmmmeeeeeee.. let me steal it.. heeheheh

35
D
2007-07-17 16:14:01
Its to slow for chat!

36
Raj
2007-06-19 09:36:57
hello

37
Pepito
2007-06-16 00:40:39
esto es un comentario

38
Jalal
2007-06-15 07:03:37
hello