Click here to Skip to main content
16,022,332 members
Articles / Programming Languages / PHP

Using SSE in Updating Clients Changes in the Server

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
3 Jun 2024CPOL7 min read 3.3K  
A simple working solution for real-time (almost) update using server-sent events
This is a plain PHP and JavaScript demonstration in pushing server updates through SSE. This is a product of trial-and-error until I made it work. I am not sure if this will apply to everyone's case but I've got the courage in posting this here when I finally made it work.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions