The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Pausing in a PHP script
Hello to everyone.
In a script ive coded, I want to pause within executing a set of commands, but I would rather it didnt php sleep(); as this obviously means the whole script is delayed then affecting the intervals it is executed using PHP code which runs the script every X seconds, in addition to 1 minute CRON. The commands in question often refer to my MYSQL database of cheating players in a gameserver, and should the conditionals be met, actions are taken against the individuals. The reason I need a pause is to warn a player before booting them so they can see why they were kicked from the server. An example: PHP Code:
Matt |
#2
|
||||
|
||||
PHP will always wait until each line is executed and finished. So "not possible" (with pure PHP anyway).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|