I need a simple site counter php script. This simple site counter will take the siteid from a incoming parament in a url (for example: the siteid in [url removed, login to view] is 'ID5565) and save that data to a textfile ([url removed, login to view]). Each time that same siteid is called again, I need to increase the value in that text file ([url removed, login to view]) by 1. If a new siteid is called, then i want it to add a new line in counter.txt. And the next time that siteid is called again, add 1 to the value. Basicly im creating this to count how many hits each pages get (the siteid is created by me so you don't have to worry about it).
here's an example of what [url removed, login to view] will look like.
The aboove example says that siteid5564 recived 6 hits, Siteid3345 recived 2 hits and siteid2222 recived 3 hits.
if the sideid is not in the [url removed, login to view] then add new and set it to 1. If the siteid is allready there, then add 1 to the previous value. After that i want to grab the number(hits) and return it to the calling html.
20 freelancer đang chào giá trung bình $43 cho công việc này
Hi I am a software engineer with 6+ years of experience in PHP. I am based in Cincinati, Ohio. I will be able to do this very easily for you. I did similar counter before.
Hi, I have a vast experience in PHP and text parsing. This is a very simple one and can be done with ease using PHP. Hoping to work with you on this project, With expects, inba