Using php to pop an array stack (or iterate through a text file) on a timed interval
<p>I want to set up a small php script which simply returns a string, either from an array or from a line in a text file. As well as returning the string any time this script is called, I also want it to automatically cycle through the set of items (either an array or each line in a text file) on a timed basis. For example, every 15 minutes I want the script to step through each item in the list. I've not actually done anything like this before, so i'd be interested to hear any advice. Thanks</p>
