Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7701789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:04:41+00:00 2026-05-31T23:04:41+00:00

A few years ago i made am webbapp with ajax and php, i really

  • 0

A few years ago i made am webbapp with ajax and php, i really loved the polling mechanism.
Now i`m working on a streamingserver which is controlled by php. The client makes a call to the php to start en stop streaming. These are calls the clients initialises, now i want to do some “server-maintenace”. (which is not initialized by a client)

What i’m trying to do is creating a script thats check for clients, the script needs to loop and query`s the database for the clients table every 20 seconds,
is this possible with using PHP only? can you give me some tricks and tips?

help is appreciated

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:04:42+00:00Added an answer on May 31, 2026 at 11:04 pm

    If you want it to be under a minute you’ll need a long running PHP process. If you can live w/ every minute, a cron job will suffice. Another option would be to run the check as part of requests as they came into the webserver for other things as part of your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

im working with a cms made a few years ago in asp/vbscript (old asp)
A few years ago I installed a CMS which was written in PHP. This
A few years ago I developed a web app for which we wanted to
A few years ago I wrote a WCF service, which runs on a Windows
A few years ago I used to work with PHP and there've been many
I used Python a few years ago when 2 was the only version. Now
The SQL statement below used to work a few years ago, now it doesn't
A few years ago in Oracle 10 or 9 I used a function which
I have an old workbook (made by someone years ago) with a few worksheets
Few years ago I've developed a windows service app (VB.NET framework 1.1) which was

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.