@SlightlyAmiss You can easy modify the script and add a folder named counters. Just make more txt files named in a different way for different pages and put them all in that folder. Then all you have to do...it's to add the php code to where you want it to apear and just change the first line as example define("HITCOUNT", "counters/productshitcount.txt"); instead of hitcount.txt. and there you go....you can have as many counters as you want.
@CINEMA35mediafilms Correct. But manually making a new text file for every page you need is a lot of work that is not needed. I was simply commenting to let viewers know what they're getting, because how it's described in the video is misleading.
In any case, I would advise someone to learn rudimentary MySQL and play around connecting and inserting info into a database. That's how I solved my concern when non of these YouTube tutorials could help.
I've only use this at school making a basic webpage with a image. Great video. I don't know why you don't get many views and commets. Whats up with that? Oh well. :D Good luck with your account and website.
i am having a problem placing this code into my html page. the gold php icon is displayed but i don't see it on website when i visit it!!
nuirton 3 months ago
this is misleading people !! its better to use MYSQL DB as a view counter it will save time.
bandara1988 7 months ago
Helpful step by steps, but this is *not* a per page counter. It is a per *directory* counter.
You cannot copy this code to each page in a directory and get unique counts. Please be more clear when describing what's happening in your videos.
SlightlyAmiss 1 year ago
@SlightlyAmiss You can easy modify the script and add a folder named counters. Just make more txt files named in a different way for different pages and put them all in that folder. Then all you have to do...it's to add the php code to where you want it to apear and just change the first line as example define("HITCOUNT", "counters/productshitcount.txt"); instead of hitcount.txt. and there you go....you can have as many counters as you want.
CINEMA35mediafilms 1 year ago
@CINEMA35mediafilms Correct. But manually making a new text file for every page you need is a lot of work that is not needed. I was simply commenting to let viewers know what they're getting, because how it's described in the video is misleading.
In any case, I would advise someone to learn rudimentary MySQL and play around connecting and inserting info into a database. That's how I solved my concern when non of these YouTube tutorials could help.
SlightlyAmiss 1 year ago
@SlightlyAmiss When you're right you're right..:)
CINEMA35mediafilms 1 year ago
Comment removed
CINEMA35mediafilms 1 year ago
wow i have found ur websites very helpfull mate cheers so much
im studing computer engineering in edinburgh, but like to learn how to do things like this .
sunnyd911 1 year ago
Great video!
This Helped me out alot with my websites! Thanks =D
mattydavid13 1 year ago
I've only use this at school making a basic webpage with a image. Great video. I don't know why you don't get many views and commets. Whats up with that? Oh well. :D Good luck with your account and website.
BoneyHead959 1 year ago