title: Get Country, GMT, City by IP address using PHP
body: <p>I have tried to get the <strong>Country</strong>, <strong>City</strong>, and <strong>GMT</strong> using <code>js</code> by set it to cookies, and then I fetch it with <code>PHP</code> to save into <code>Database</code>.
  But the method I used, is does not work sometimes,
  So, is there anyway to get them by using PHP alone?
  or is there another way by using JS?</p>
  
  <p>I using this <code>js</code> provided by <strong>maxmind</strong></p>
  
  <pre><code>&lt;script language="JavaScript" src="http://j.maxmind.com/app/geoip.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>But I often fail to save the data.</p>