
<?php 
  
// PHP program to obtain IP address of 
// the server 
  


// PHP program to obtain IP address of 
// the server 
  
// Create a variable to store the 
// server ip address 
//$ip = $_SERVER['REMOTE_ADDR']; 
  
// Printing the stored address 
//echo "IP Address is: $ip", "<br>"; 

//$client_ip=$_SERVER['HTTP_CLIENT_IP'];

//echo "CLIENT IP Address is: $client_ip", "<br>"; 

//echo gethostbyaddr($_SERVER['REMOTE_ADDR']);
  
?> 