Tasos Posted April 10, 2013 Share Posted April 10, 2013 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 ? Link to comment https://forums.phpfreaks.com/topic/276784-unique-counters/ 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. Link to comment https://forums.phpfreaks.com/topic/276784-unique-counters/#findComment-1423989 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.