Basic long polling demo.
- Copy this folder to C:\xampp\htdocs (XAMPP) / C:\wamp\www (WAMP) / /var/www/html (LAMP).
- Create a database named long_poll.
- Import long_poll.sql to long_poll database via phpMyAdmin.
- Open http://localhost/long-poll on your browsers.
- Open http://localhost/long-poll/set_status.php on another brower or tab.
- Change status using the form http://localhost/long-poll/set_status.php.
- Notice the status change on http://localhost/long-poll.