[snip]
Pretty interesting, Jay. So you have this script running as others
interface
with all the other stuff in the site? Just another question, you start
it via
web like a common script, but it is only accessed by you and it keeps on
running? The server doesn't kill it if it keeps running indef
On Friday 25 March 2005 09:37, Alexandre wrote:
> I mean like a script I would start and it would keep running
> constantly, checking for new commands in a queue, updating objects status,
> can it be done or the server would kill it?
>
> Kind regards,
> Alex
PHP is server script and you would need
Check PHP-CLI ( Command line interface )
You can run php script without client request. For
example :
/usr/local/bin/php -f /path_of_your_script/game.php
arg1 arg2 &
--- Alexandre <[EMAIL PROTECTED]> wrote:
> Robert Restad wrote:
> > I suggest you write a 'tick' engine, which i.e.
> games like P
[snip]
First thanks for your answer and your help. I would like to explore this
concept
of using the PHP. I mean, I've already coded some small games in C++,
and
implementing a game loop is kinda easy, since you have the control of
all the
data being processed. But PHP scripts, as I currently kn
Robert Restad wrote:
I suggest you write a 'tick' engine, which i.e. games like Planetarion
use.
This should be written in C or C++, compiled... You can run this using
PHP of course, and run it from command line/shell, but PHP isnt ideal
for this. If you have a decent server and not too much player
I suggest you write a 'tick' engine, which i.e. games like Planetarion
use.
This should be written in C or C++, compiled... You can run this using
PHP of course, and run it from command line/shell, but PHP isnt ideal
for this. If you have a decent server and not too much players (i.e.
more than a
6 matches
Mail list logo