So… for example I want to add to 1 five every 5 minuts (1 is in the DB)… With out direct calls from users….
So… How to make PHP code work without direct calls (on some kind of timer)?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
build a script which does what you need to do. and call it via crontab in the needed interval
but make sure its not callable from a user or searchengine.
see http://www.unixgeeks.org/security/newbie/unix/cron-1.html for more information on cron
a typical call could look like: