I am looking for some php that will allow me to set a pause for a variable amount of time before execution.
For example: I put a string of numbers into a text file, then I want to put the same string of numbers in the very same text file 60 seconds later.
How can this be done in a php script that is executed via web?
Thanks in advance,
MB
Function forcing code to "pause"?
Moderator: General Moderators
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
Take a look at this: http://www.php.net/sleep
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA