title: How to make geoip_country_name_by_name() work?
body: <p>I want to collect country name of an user who logined to my site. So i used </p>
  
  <p><code>geoip_country_name_by_name()</code> php function for this purpose. </p>
  
  <p>But i got a fatal error as :</p>
  
  <pre><code>Fatal error: Call to undefined function geoip_country_name_by_name()
  </code></pre>
  
  <p>How can i avoid this error ?</p>
  
  <p>Is there any other method to get country name using php?</p>
  
  <p>Can someone help me please?</p>