Author Topic: How to get the IP address of the visitor with PHP?  (Read 4744 times)

Offline admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 296
    • View Profile
How to get the IP address of the visitor with PHP?
« on: November 30, 2007, 01:17:29 PM »
This will show the IP address of the visitor. 
     
<?php 
   echo $_SERVER['REMOTE_ADDR']; 
?>