HTML5 Server-Sent Events prototyping – ambiguous error and repeated polling?
The problem is your php. With the way your php script is written, only one message is sent per execution. That’s how it works if you access the php file directly, and that’s how it works if you access the file with an EventSource. So in order to make your php script send multiple messages, … Read more