Parsing certain information from an html page
<p>I am trying to find a way to retrieve the zip code per users IP address. I would like to accomplish this without massive databases (tried and failed pretty bad). I found this script on the the inter webs, and it gets the state by IP, however I need it to grab the zipcode, I tried modifying the parameters of the strip_tags, but no dice.</p>

<pre><code>$ip =$_SERVER['REMOTE_ADDR'];



$a=file("http://www.geoiptool.com/en/?IP=$ip");
$zip=strip_tags($a[126]);
$zip=str_replace(" ","",$zip);
</code></pre>

<p>All help is appreciated! Thanks!</p>
