I am a beginner at PHP, and I was wondering how hard it would be to make a hit counter that counts the hits on each link, then sends it to an external text file in the root directory. I am making a page that has 12 links, I need to know, over time, if all the links are being used, as we may need to add more links, and it is impossible to add more than 12 links. Is this script easy to make? Are there any pre-made ones out there?
this is easy to create so just create from scratch so you could also learn. but you can also try this script it also uses a flat text file just like what you're looking for http://www.phpjunkyard.com/php-click-counter.php