PHP Game


Posted on 16th Feb 2014 07:03 pm by admin

hy i was wondering what's the best method in order to make some automatic updates in a php game

let's say that the user should gain 1gold each minute but the user is not logged in and the process is happening automatically . what will be the best method?
if it's cron jobs then what you will use if you need constant update (real time) because cron jobs every second is resource killing

thank

No comments posted yet

Your Answer:

Login to answer
81 Like 12 Dislike
Previous forums Next forums
Other forums

Delete all from a table
I can not get the following code to work. If I run the sql statement in the db it will delete all t

Linkage between two scripts
Okay say I have this for a link in a script:

Code: <li><a href="#&q

Connect to database that isn't localhost
I am currently doing a small script for a company that doesn't have mySql support on there hosting.

Word filter problem
Hello,

im trying to make a filter for words inputted in to my website but i want to store the

Remove letter from numeric textbox
I have a textbox that will search the employee database by entering in the employee ID and it will r

echo $rows help
Hi all,

Hopefully something simple that I don't know!

I have this:

Code: [Selec

Transferring session variables into MySQL
I am trying to transfer $_SESSION variables into MySQL. However there is an error in my MySQL statem

Content-Disposition: attachment; filename=... not working as i thought it should
taken the following code from the php.net site the script is not working.

what is not happeni

rename the file
File.txt

Code: ***DOCUMENT***
..DN:
000044255
..CB:
..SN:
..PY:
2009
..E

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash