...

View Full Version : sort of auto-update?



fael097
03-22-2010, 01:53 PM
hi! i have a simple chatbox, where a registered user can submit a message here http://fael097.site11.com and i need some sort of script, where the chatbox refreshes for everyone when a new message is submitted.

scripts that auto refreshes the page each X seconds are not right for me, i just want to update when theres a new message. thank you

angst
03-22-2010, 02:17 PM
well for this kind of chat client, you will have to use some sort of refresh, how else will the web page know if there has been an update?

meta-refresh will work, or you would get the chat feed via ajax and use interval() to update it every few seconds.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum