I am stuck in this problem, about making realtime progressbar on php (without php pusher) Let’s say I have 10 rows of data, that will be inserted to database. Now how to send the progressbar data, while also inserting to database. I will really appreciate your answers. Thanks. Bellow is my code example: Answer Web servers and browsers will not
Tag: server-sent-events
CentOS Linux release 8.0.1905 not taking change of php.ini
I want to remove output_buffering and want to make change to memory_limit by editing etc/php.ini file But none of my changes are taking effect. After editing etc/php.ini file as a super user. I’ve restarted httpd.service using following command I am using centOS 8 php-common packages are as below For SSE Script I want to make output_buffer as null or Off
While loops for server-sent events are causing page to freeze
I am currently working on a chat that uses Server-Sent Events to receive the messages. However, I am running into a problem. The server-sent event never connects and stays at pending because the page doesn’t load. For example: I expect that every 3 seconds, “data: This is the message.” will be outputted. Instead, the page just doesn’t load. However, I