Fosstodon Mastodon

Articles tagged under Apache

How to handle long-polling of XHR requests in PHP

A common need you often face in PHP scripting these days is writing a long-polling endpoint for things like sending notifications or other kinds of responses back to the client. While using something dedicated like node, cometd or websocket makes ideal sense for such things, there are use-cases when you … Read More