How can I get the visitor IP in PHP ?

  • Thread starter Thread starter Mohammad m
  • Start date Start date
Hi the Code is :

<?
$ip = $_SERVER['REMOTE_ADDR'];
echo "Your IP Address is : ".$ip;
?>


I found it in this website :
 
Back
Top