How to implement EventSource on Codeignigter app? |
(02-24-2020, 05:28 PM)dave friend Wrote: I built a CodeIgniter version of the server-sent-events sample. It's modified from the Github example a tiny bit but works as expected.I also found another error after adding your code. I get this error on the line where we have ob_end_flush(); <h4>A PHP Error was encountered</h4> <p>Severity: Warning</p> <p>Message: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/codeigniter/application/models/cfa_model.php:139)</p> <p>Filename: core/Common.php</p> <p>Line Number: 570</p> |
Welcome Guest, Not a member yet? Register Sign In |