How do I find out the ISP provider of a person viewing a PHP page?
Is it possible to use PHP to track or reveal it?
If I use something like the following:
gethostbyaddr($_SERVER['REMOTE_ADDR']);
Fixed Now
:it returns my IP address, not my host name or ISP.
I tried the solution mentioned here. It's no longer working.
- Error message: https://i.stack.imgur.com/KCQ2q.png
- Error Message 2: https://i.stack.imgur.com/HfrWq.png
How do I retrieve the visitor's ISP through PHP? How do I retrieve the visitor's ISP through PHP
Any other solution to achieve this? Info i want to get About Visitor's IP:
The Solution needs to be in php, or a way to do it in php.
P.S I already know, it is not reliable enough to count on this data, as this data can be tricked easily. But my system only demands this data. Even if it is not reliable enough.