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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ll recommend reading here the section “Comet with classic AJAX”.
It contains a succinct
PHPimplementation, and aJavascriptclient side code usingprototype.js.