<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "reverse geocoding in php"]]></title>
		<link>http://forum.geonames.org/gforum/posts/list/4.page</link>
		<description><![CDATA[Latest messages posted in the topic "reverse geocoding in php"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>reverse geocoding in php</title>
				<description><![CDATA[ Is there an example how to use reverse geocoding like nearbyplaces in php? ]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#3346</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#3346</link>
				<pubDate><![CDATA[Mon, 14 Jan 2008 14:48:26]]> GMT</pubDate>
				<author><![CDATA[ nicarcola]]></author>
			</item>
			<item>
				<title>Re:reverse geocoding in php</title>
				<description><![CDATA[ I don't have an example for the geonames services. You find a lot of other examples and tutorials on the web :
http://search.yahoo.com/search?p=php+rest

This should help you to get started.

Cheers

Marc]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#3355</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#3355</link>
				<pubDate><![CDATA[Tue, 15 Jan 2008 21:03:49]]> GMT</pubDate>
				<author><![CDATA[ marc]]></author>
			</item>
			<item>
				<title>Re:reverse geocoding in php</title>
				<description><![CDATA[ I just want to know hoe the http regquest looks like in php and how I get my information returned.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#3363</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#3363</link>
				<pubDate><![CDATA[Wed, 16 Jan 2008 19:42:50]]> GMT</pubDate>
				<author><![CDATA[ nicarcola]]></author>
			</item>
			<item>
				<title>Re:reverse geocoding in php</title>
				<description><![CDATA[ Example using PHP 5
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
$url  = "http://ws.geonames.org/hierarchyJSON?geonameId=6447142";
$json = file_get_contents&#40;$url&#41;;
$data = json_decode&#40;$json, true&#41;;
var_dump&#40;$data&#41;;</pre>
		</div>

Note : json_decode() does not exist using PHP4

]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#3366</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#3366</link>
				<pubDate><![CDATA[Thu, 17 Jan 2008 13:35:12]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
			<item>
				<title>Re:reverse geocoding in php</title>
				<description><![CDATA[ Thanks. But with reverse geocoding I have a lat and lng. Where do I put this information in the url and how do I refer to the city, province, country and countrycode?

Nico.]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#3368</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#3368</link>
				<pubDate><![CDATA[Thu, 17 Jan 2008 21:09:46]]> GMT</pubDate>
				<author><![CDATA[ nicarcola]]></author>
			</item>
			<item>
				<title>Re:reverse geocoding in php</title>
				<description><![CDATA[ Use lat= and long= parameters
<span class="genmed"><b>Code:</b></span><br>
		<div style="overflow: auto; width: 100%;">
		<pre>
$url = "http://ws.geonames.org/findNearbyPlaceNameJSON?lat=47.3&lng=9"
$json = file_get_contents&#40;$url&#41;;
$data = json_decode&#40;$json, true&#41;;
foreach &#40;$data&#91;"geonames"&#93; as $key =&gt; $val&#41; {
	echo $val&#91;"name"&#93;." ".$val&#91;"countryName"&#93;." ".$val&#91;"countryCode"&#93;."&lt;br /&gt;";
}</pre>
		</div>]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#3370</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#3370</link>
				<pubDate><![CDATA[Thu, 17 Jan 2008 21:31:04]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
			<item>
				<title>Re:reverse geocoding in php</title>
				<description><![CDATA[ When I test this code I get the following error???

Parse error: syntax error, unexpected T_VARIABLE in .... on line 2

]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#3386</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#3386</link>
				<pubDate><![CDATA[Mon, 21 Jan 2008 12:21:23]]> GMT</pubDate>
				<author><![CDATA[ nicarcola]]></author>
			</item>
			<item>
				<title>Re:reverse geocoding in php</title>
				<description><![CDATA[ Just add a missing ; to the first line.
]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#3387</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#3387</link>
				<pubDate><![CDATA[Mon, 21 Jan 2008 12:43:16]]> GMT</pubDate>
				<author><![CDATA[ geotree]]></author>
			</item>
			<item>
				<title>Re:reverse geocoding in php</title>
				<description><![CDATA[ Can u Help me I have List of Latitude, Longitude, in mysql  database .....Let me  know how can i  get the mysql data as output by getting in a map.....

$url = "http://ws.geonames.org/findNearbyPlaceNameJSON?lat=17.24&lng=78.18";
$json = file_get_contents($url);
$data = json_decode($json, true);
 foreach ($data["geonames"] as $key => $val) {
 echo $val["name"]." ".$val["countryName"]." ".$val["countryCode"]."<br />";
 }

My Goal was to Show Address (Locaton,counrty,code) on map By using My Mysql DAta base any one plzz help me this is my acdemic project time only two days]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#11206</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#11206</link>
				<pubDate><![CDATA[Wed, 8 Feb 2012 06:09:36]]> GMT</pubDate>
				<author><![CDATA[ kumarpavan48]]></author>
			</item>
			<item>
				<title>Re:reverse geocoding in php</title>
				<description><![CDATA[ canu plz help in reverse geocoding!!!]]></description>
				<guid isPermaLink="true">http://forum.geonames.org/gforum/posts/list/738.page#11207</guid>
				<link>http://forum.geonames.org/gforum/posts/list/738.page#11207</link>
				<pubDate><![CDATA[Wed, 8 Feb 2012 06:09:36]]> GMT</pubDate>
				<author><![CDATA[ kumarpavan48]]></author>
			</item>
	</channel>
</rss>