This works in the way that if a user has visited the page before (based on their IP address), their hit will not be counter. If a visitor is new to the page, a hit will be counter and their IP address stored for future checking.
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
Tags: Counter, Hit Counter, Ip Address, Part, Php Counter, Php Tutorials, Tutorials, Unique, Visitor, Visitor Counter
hey php academy, i have been working on subtitles for this video for i while as a school project. subtitles are in spanish and i would love if u could put this subtitules on these videos (unique visitor counter) write me a message please. u only need to upload the subtitles file into the video’s subtitles (in my video options). thanks
4:43 thats what i need
He don’t even have to use a loop to determine whether an ip already exists in the file.
Just use this:
if (in_array($_SERVER['REMOTE_ADDR'],$ip_file)) fwrite($visitornum_new,$file);
which means you could use cookies, yummy! xD
IP logging is not dependable,
as more and more broadband subscribers
have dynamic IP addresses, due to the
dwindling number of available CIDR blocks
to providers under IPV4.
I’m a YouTube partner
How you made this “Why not subscribe?” on top your Description?
Why didn’t you use foreach instead of for loop? It would save a lot of work…
There’s a another good program to make money online is called chattotext and you can use it to get GDI Sign Ups, for more info go to
easygoldmoneyfast . com
i just started and i am already making money
easygoldmoneyfast . com
Nice Video, looking forward to the next one! Thanks