title: How do I Retrieve the visitor's ISP in PHP?
body: <p>How do I find out the ISP provider of a person viewing a PHP page?</p>
  
  <p>Is it possible to use PHP to track or reveal it?</p>
  
  <p>If I use something like the following:</p>
  
  <pre><code>gethostbyaddr($_SERVER['REMOTE_ADDR']);
  </code></pre>
  
  <p><code>Fixed Now</code>:it returns my IP address, not my host name or ISP.</p>
  
  <p>I tried the solution mentioned here. It's no longer working.</p>
  
  <ul>
  <li>Error message: <a href="https://i.imgur.com/H8M9M.png" rel="nofollow noreferrer">http://i.imgur.com/H8M9M.png</a></li>
  <li>Error Message 2: <a href="https://i.imgur.com/pf5Su.png" rel="nofollow noreferrer">http://i.imgur.com/pf5Su.png</a></li>
  </ul>
  
  <p><a href="https://stackoverflow.com/questions/855967/how-do-i-retrieve-the-visitors-isp-through-php">How do I retrieve the visitor&#39;s ISP through PHP?</a>
  <a href="https://stackoverflow.com/questions/9366521/how-do-i-retrieve-the-visitors-isp-through-php">How do I retrieve the visitor&#39;s ISP through PHP</a></p>
  
  <p>Any other solution to achieve this? 
  Info  i want to get About Visitor's IP:</p>
  
  <ul>
  <li><a href="https://i.imgur.com/3hDiz.png" rel="nofollow noreferrer">http://i.imgur.com/3hDiz.png</a></li>
  </ul>
  
  <p>The Solution needs to be in php, or a way to do it in php.</p>
  
  <p><strong>P.S</strong> 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.</p>