Tasos Posted April 10, 2013 Share Posted April 10, 2013 (edited) Hello i have a question, how to make a daily - weekly - monthly unique counter like, daily = when new day starts save old day.txt begin new day.txt weekly = when new week starts save old week.txt begin new week.txt monthly = when new month start save old month.txt begin new month.txt i know that you can count unique visitors but i dont know if you also can safe the file and start new file. Is that possible ? Edited April 10, 2013 by Tasos Quote Link to comment Share on other sites More sharing options...
requinix Posted April 10, 2013 Share Posted April 10, 2013 How about renaming your files to include the date? Daily is YYYY-MM-DD.txt, weekly is YYYY-WW.txt, monthly is YYYY-MM.txt. What are you using these files for? Using files like this is almost never the right solution. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.