Heya, I've just recently moved from VB to PHP and of course I'm still learning the in and outs of a new language. (Such as the idea of putting an ';' at the end of almost every line aside from loops and conditonals)
However, one thing that I can't seem to find documantion on is how to get time from the server. Of course I could be looking in the wrong places for it. Basicly I want some code to excute every five mintues. However, I want this code to work even if a user isn't online. I suppose kind of like the turn things at www.planetbattlegrounds.com (kind of like kings of chaos, I dispise most games of that ilk, but still...)
I suppose the PHP or server moudle that did the time handling would have to run all the time or something. Any help on this matter would be very much apprechiated.
However, one thing that I can't seem to find documantion on is how to get time from the server. Of course I could be looking in the wrong places for it. Basicly I want some code to excute every five mintues. However, I want this code to work even if a user isn't online. I suppose kind of like the turn things at www.planetbattlegrounds.com (kind of like kings of chaos, I dispise most games of that ilk, but still...)
I suppose the PHP or server moudle that did the time handling would have to run all the time or something. Any help on this matter would be very much apprechiated.
Comment