- This is a practical example showing a real time monitoring and logging to a web page.
- Run command below:
composer install
-
Open two (2) browser. One links to index.php and the other links to publish.php
-
TAB 2 http://localhost/PHP-PracticalExample-Pusher/publish.php?agent_id=1&agent_name=Thamuz&status=CALLING http://localhost/PHP-PracticalExample-Pusher/publish.php?agent_id=2&agent_name=Valir&status=ON http://localhost/PHP-PracticalExample-Pusher/publish.php?agent_id=3&agent_name=Layla&status=BREAK