=inet_aton('$REMOTE_ADDR') "; // Executing above query $country_exec = mysql_query($country_query); // Fetching the record set into an array $ccode_array=mysql_fetch_array($country_exec); // getting the country code from the array $country_code=$ccode_array['country_code2']; // getting the country name from the array $country_name=$ccode_array['country_name']; // Display the Visitor coountry information // echo "$country_code - $country_name"; // Closing the database connection mysql_close($dbh); ?>

 

Your computer's IP address is:

Country name is:

Click here for IP whois
 
Copyright (c) 2003 by pingme.info