Hi,
I'm building a sort of gameplaza. I've setup a directory-structure.
[ROOT]
root_functions.php with a function quit() in it
[GAME_1]
stop.php with a function stopgame() in it
[GAME_2]
stop.php with a function stopgame() in it
.
.
[GAME_N] etc.
The function quit() calls all the gamespecifik stop.php-files in a while loop, but as you've guessed I cannot overwrite the function. No problem cause I just want to execute the stop.php-files, and don't want any respons. Instead of including or acquiring the "GAME_".$nr."/stop.php"-files I want them to get executed in a new thread.
Please help me.