How to create simple PHP COMET server page displaying current time?
How to create simple PHP COMET server page displaying current time? I 开发者_开发技巧need code implementation (because it should be trivial) - not theory or just links to library sites. Simple text line conteining corrent time and updating each second.
I'll recommend reading here the section "Comet with classic AJAX".
It contains a succinct PHP
implementation, and a Javascript
client side code using prototype.js
.
精彩评论