PaulC2K
12-28-2006, 08:11 AM
Hi,
Im looking to dump some returned values into a txt file so that i can just go to that every 30-60sec instead or having the same thing requested over and over.
The main reason i need this is because the data im pulling can only be given to me every few seconds, so if the page is refreshed within about 5sec then no results are returned and things look rather odd.
Is there a specific way to write the values of $results into cache.txt ??
php.net kindly offered cosh when looking for cache and i cant find anything via google or searching here unfortunately. I wouldnt have thought it was a big task, most of it would just be additional code to check whether to get live info or cached, but until i have it caching info im stuck.
Thanks in advance,
PaulC2K
Im looking to dump some returned values into a txt file so that i can just go to that every 30-60sec instead or having the same thing requested over and over.
The main reason i need this is because the data im pulling can only be given to me every few seconds, so if the page is refreshed within about 5sec then no results are returned and things look rather odd.
Is there a specific way to write the values of $results into cache.txt ??
php.net kindly offered cosh when looking for cache and i cant find anything via google or searching here unfortunately. I wouldnt have thought it was a big task, most of it would just be additional code to check whether to get live info or cached, but until i have it caching info im stuck.
Thanks in advance,
PaulC2K