Friday, May 10, 2013

Displaying PHP file as it is executed, creating data streams in PHP

PHP allows you to display data as it is generated on the server, so while your PHP file is still being executed, the display begins and this feature can be put to some real dynamic uses. I shall cover a few of these applications and let you make more ingenious things.

Here is the code for generating PHP data stream using the flush buffer command.




1. Creating continuous data streams

2. Making synced chat