PHP Tutorials: Unique Visitor Counter (Part 1)
Thіѕ works іn thе way thаt іf a user hаѕ visited thе page before (based οn thеіr IP address), thеіr hit wіll nοt bе counteract. If a visitor іѕ nеw tο thе page, a hit wіll bе counteract аnd thеіr IP address stored fοr future checking.
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, scrumptious! 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 below 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 excellent 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 ongoing and i am already making money
easygoldmoneyfast . com
Nice Video, looking forward to the next one! Thanks