Urgent Help Regarding Timer

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
achinthpaul
Forum Newbie
Posts: 4
Joined: Fri Mar 13, 2009 5:01 am

Urgent Help Regarding Timer

Post by achinthpaul »

Hi All,

Is there a timer function similar to settimeout() in javascript which runs continuously
for every interval of time.What i need to do is to check whether any new mails haave come .The programs needs to run in the background

Thanks in Advance

Paul
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Urgent Help Regarding Timer

Post by papa »

setTimeout()
setInterval()
achinthpaul
Forum Newbie
Posts: 4
Joined: Fri Mar 13, 2009 5:01 am

Re: Urgent Help Regarding Timer

Post by achinthpaul »

Hi ,

Thanks for the reply .But that can be used only in javascript .i want to use it with php


Thanks again for the reply

Paul
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

Re: Urgent Help Regarding Timer

Post by VladSun »

sleep()
usleep()
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: Urgent Help Regarding Timer

Post by papa »

achinthpaul wrote:Hi ,

Thanks for the reply .But that can be used only in javascript .i want to use it with php


Thanks again for the reply

Paul
Oh missread.. :)
Post Reply