|
Hi,
I have been spending the last few days trying to work out hit counters. I am talking about the ones that are displayed on YouTube, under the videos. You know the one that says "Views : 222, 222"(for example).
I wanted to replicate this for my site. I want to show a video and under it, show how many views it has had.
There are many scripts available on the net but I'd rather try and make one myself as opposed to just using someone elses. This way I can further my understanding of PHP.
I know a little bit about PHP now, after reading up a LOT on the internet and W3SCHOOLS.
I have edited: No txt file is necessary. As mentioned by nyef, txt files are a bad idea for decent traffic websites, for that reason I am removing that idea.
Does anyone have any other solutions where I can show the views like YouTube does?
Thank you for your help.
Last edited by yourmediaking; 06-11-2008 at 02:08 AM..
|