Developers Heaven Forum

Web Programming => PHP & Perl => Topic started by: admin on November 30, 2007, 06:17:29 AM

Title: How to get the IP address of the visitor with PHP?
Post by: admin on November 30, 2007, 06:17:29 AM
This will show the IP address of the visitor. 
     
<?php 
   echo $_SERVER['REMOTE_ADDR']; 
?>