PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
non working code but something like this should work of course you'd still have to format the date for seconds or minutes and execute the remaing functions based on var output.
Just look at rand() and the date functions in PHP.
Also, change your thread title to something more descriptive of your thread content.
Done and done.
I need three basic pieces of help. Very basic.
1) How do I read/write the file (and how should it be formatted)?
2) How do I compare the timestamps?
3) I am fairly certain this one I can handle, but just in case... how do I set the random number functions?