You should use this URL instead : api.hostip.info/?ip=$rows'UIP' It returns XML which is easier to parse. You can even do it in AJAX this way \o/ Source.
I am such a massive spastic. Cheers. I should've thought of trying the XML.
– Dave Robilliard Oct 27 '10 at 12:37.
No need to bother with an XML parser for something so simple. While($rows=mysql_fetch_array($result)) { echo $rows'UIP'; //This is the IP stored currently $file_l = file_get_contents('http://api.hostip.info/get_html.php?ip='. $rows'UIP'.'&position=true'); $lines = explode("\n", $file_l); $values = array(); foreach($lines as $line) { $s = explode(':', $line); $values$s0 = trim($s1); } doSomethingWith($values'City', $values'Latitude', $values'Longitude'); }.
Awesome, that's exactly what I needed, cheers for all of your input – Dave Robilliard Oct 29 '10 at 6:10.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.