This post now on http://devkini.xy/php-sse-example/