Home > other >  can i get the ip address of an individual user in laravrl
can i get the ip address of an individual user in laravrl

Time:02-10

i want to get the ip address of an individual user not of a network.

when i do $visitor = request()->ip(); it gives me the ip of the whole network mean if there are thousand users on a network it will return the same for all of the thousand users. but i want to get the ip of every individual not just the whole network.

i am doing it just to count the visitors on a page. just to save the unique record. if a user visit that page 100 times it has to count only once.

CodePudding user response:

  •  Tags:  
  • Related