php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "long polling"

How can Long Polling be used in PHP to automatically update an online list every 5 seconds?

Long Polling in PHP can be used to automatically update an online list every 5 seconds by creating a script that continuously checks for updates on th...

What are the drawbacks of using a while loop with usleep in PHP for long polling and how can they be addressed?

Using a while loop with usleep for long polling in PHP can consume unnecessary resources as the loop will continuously run, even when there is no new...

What are the best practices for implementing Long Polling in a PHP chat application to handle real-time updates and user interactions?

To implement Long Polling in a PHP chat application for real-time updates and user interactions, you can create an endpoint that the client can contin...

What are the potential pitfalls of using simple Polling for a PHP chat application, in terms of resource usage and real-time message delivery?

Using simple polling for a PHP chat application can lead to high resource usage as the server will be constantly queried for new messages. Additionall...

What are the drawbacks of using polling in PHP scripts to check for updates or changes in external files?

Using polling in PHP scripts to check for updates in external files can lead to high server load and inefficient resource usage. A better approach wou...

Showing 21 to 25 of 1421 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 284 285 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.