iota
11-13-2006, 12:46 PM
Hi
I'd like to create flash-php chat.
I have no clear idea on how chat system is.
I don't wanna rely on those freely downloadable stuffs which make us totally lazy men.
I invoke flash to loadvars from chatlog.txt under 5 seconds.
I simply create 2 php files : one that read chat log texts and the other that writes messages from users.
The problem is that IE browsers or maybe my ISP cache that chat log text file and can't display the lastest writes to chatlog.txt.
I prevent it with no cache php header, but it's in vain.
Any idea? Please see the attachment.
Thank you so much.
PS. the demo url is
http://www.ak.flashmo.com/webdev/tmp/chat/chat.html
I'd like to create flash-php chat.
I have no clear idea on how chat system is.
I don't wanna rely on those freely downloadable stuffs which make us totally lazy men.
I invoke flash to loadvars from chatlog.txt under 5 seconds.
I simply create 2 php files : one that read chat log texts and the other that writes messages from users.
The problem is that IE browsers or maybe my ISP cache that chat log text file and can't display the lastest writes to chatlog.txt.
I prevent it with no cache php header, but it's in vain.
Any idea? Please see the attachment.
Thank you so much.
PS. the demo url is
http://www.ak.flashmo.com/webdev/tmp/chat/chat.html