Тёмный

UNIQUE VISITOR COUNT IN PHP | TRACK IP ADDRESS 

SUSHANT ADHIKARI
Подписаться 24 тыс.
Просмотров 40 тыс.
50% 1

Опубликовано:

 

11 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@herbertwillkomm2145
@herbertwillkomm2145 4 года назад
This is the only example that works for me, thank you
@georgeparvini686
@georgeparvini686 4 года назад
This is the best video for this task, I really want to thank you for that. Grazie Mille.
@tt4kcoding844
@tt4kcoding844 4 года назад
The best channel in the world
@saifullah7745
@saifullah7745 4 года назад
100% working. God bless u dear.
@nguyenthaihien1704
@nguyenthaihien1704 3 года назад
Cảm ơn, rất hay và hữu ích!
@mraziz3230
@mraziz3230 3 года назад
This is the best video, Thank you
@nikpartare8352
@nikpartare8352 3 года назад
Nice done!
@jeanpaul2542
@jeanpaul2542 3 года назад
excelent
@toxictriggeredgamer
@toxictriggeredgamer 3 года назад
Modified version. hit count with the IP and Date. This PHP code will track view count only in the database, echo is not added to display on the page itself the table in MySQL should be date | IP | views
@talhabajwa2098
@talhabajwa2098 5 лет назад
Weldon very nice help full
@Hangoutapp
@Hangoutapp 3 года назад
First question first. Where do u learn all those from. Please reply
@technokasim
@technokasim 6 лет назад
Nice video and i was looking for this. Thanks
@DanielRivera-qt3hf
@DanielRivera-qt3hf 3 года назад
There is a problem on IP validations. By the way of how internet works, multiple users could hit a server with the same IP. For example, I work on a company that has an intranet of 1000 people, all of them travels to the internet with the same public IP
@quasimodo1749
@quasimodo1749 2 года назад
is there a way to put the php code on my index, but have it display the results on another page entirely? (kinda like a private way to view my view count) put code on index html, then results on viewcountpage. php? edit: i got it working, but half assed it... i used link rel stylesheet, but instead of loading a css file, it loads the php file :P otherwise i'd have had to change the index html into index php (i dont wanna do that), or use htaccess to parse php in the html, which i'm not sure would have gone well with some other stuff... i dunno... if there's a better way, lemmy know. also what privilages should i enable (minimum amount) for this? alter, create, create-temp-tables, delete, event, index, lock tables, select, trigger, alter routine, create routine, create view, drop, execute, insert, reference, show view, update.
@didoukhr550
@didoukhr550 4 года назад
Music name bro !! and thanks for this vd
@Calderon_91
@Calderon_91 3 года назад
LordValGaming pg
@ChiekoGamers
@ChiekoGamers 5 лет назад
great,another tutorial without linking the source code+fake accent
@amoswisdom4403
@amoswisdom4403 3 года назад
Please I want u to help me code something but not really related to this tutorial. I have a login system that I want to to include let say 5 click to earn buttons so that it gives out 10points each and the values will be sum up in the dashboard and even if the user login with another phone the values will still be there and it will keep incrementing as he clicks the buttons please am counting on you Or if you know any link to get this type of tutorial you can help me out
@shaheerkhan9610
@shaheerkhan9610 3 года назад
sir code bhi description me de dya karen
@serverlk9379
@serverlk9379 4 года назад
working fine
@mhamaddassouki2686
@mhamaddassouki2686 4 года назад
Not accurate, what if many users sharing same ip address :) - you should use session
@gabydewilde
@gabydewilde 3 года назад
then have to ask for cookies
@rashhworld
@rashhworld 3 года назад
i want to add page wise using page id. so how can i do that?
@myadvise857
@myadvise857 5 лет назад
Sir mujhse ho nehi Raha ha aap code de do
@talhabajwa2098
@talhabajwa2098 5 лет назад
There is a problem that the Visitors IP will be saved once While he come multiple times
@YaserRiaz
@YaserRiaz 3 года назад
@Cyber Investigation unique visit should be for the same date and the same page, if the same IP visits again, on different date the visit should be counted again not discarded, what do you think?
@PoisonedPickle
@PoisonedPickle 3 года назад
@@YaserRiaz shouldnt he then just make an if condition to check if the last visit date and the current date are the same or not ? if so then dont do anything .. but if they're arent the same then update the last visit date to the current date and increase the counter ? and ofc make a counter for each page if its a blog or smth
@talhabajwa2098
@talhabajwa2098 5 лет назад
please guide me
@opiaaustin9384
@opiaaustin9384 4 года назад
can i get a link to this code?
@SplashAni_
@SplashAni_ 3 года назад
bro soucre code please
@mihaelaandreea3349
@mihaelaandreea3349 4 года назад
Hi, I follow your video exactly, all good until the part with $visitor_ip=$_SERVER['REMOTE_ADDR']; It gives me an error "Retriving Query Error SELECT * FROM counter_table WHERE ip_address='::1' " . Pls help!!
@kingindenorth
@kingindenorth 4 года назад
i got the same error , did you get it resolved? if so how?
@sametalemdaroglu5955
@sametalemdaroglu5955 4 года назад
because localhost can not give you the real ip adress ım sure that it is going to be work when u upload your program or script to any web host
@kingindenorth
@kingindenorth 4 года назад
@@sametalemdaroglu5955 ohh okay thanks buddy
@mds1655
@mds1655 5 лет назад
Sir i want to contact u
@uzumakenarutominato
@uzumakenarutominato 3 года назад
code download please
@rkq_
@rkq_ 5 лет назад
Guys. Do not fill the password variable. Leave it empty just like this $db_pass = "";
@MultiMaN95
@MultiMaN95 4 года назад
i think he has defined password for mysqli that is why he is using password.
@Demon-ir9df
@Demon-ir9df 4 года назад
Jesus
@zubairahmed6908
@zubairahmed6908 4 года назад
Source code Plz??
@jsl82837
@jsl82837 3 года назад
Watch the video plz??
@freefiretournament9629
@freefiretournament9629 5 лет назад
Not working just waste time
@batuhansubasi
@batuhansubasi 5 лет назад
are u serious?
@newvemo
@newvemo 4 года назад
That works fine
Далее
Send SMS Text Messages to Mobile Phone PHP Tutorial
7:56
Create Pagination in PHP and MySQL
15:23
Просмотров 150 тыс.
PHP MySQL Tutorial: Create a Simple View Counter -HD-
15:01
Ajax Live Data Search using Jquery PHP MySql
5:30
Просмотров 298 тыс.
PHP: Simple visitor counter by IP address
13:07
Просмотров 29 тыс.
UGEE M708 REVIEW | BUDGET DRAWING TABLET |
9:56
Просмотров 3,5 тыс.