开发者

How to create simple PHP COMET server page displaying current time?

开发者 https://www.devze.com 2022-12-27 05:11 出处:网络
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 li

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消