PlaceEngine とPHP
file_get_contents($url)でhttp://localhost:5448/rtagjs?の返り値を得ようとしたら、PlaceEngineアプリケーションキーを含む$urlが長すぎで怒られた。
http://www.placeengine.com/doc/tutl
[php]PlaceEngine with X01ht
解決。Javascriptから位置情報をなげて、GETで取得。X01htでもうまくとらえてるみたい。
onGetLocation: function(x, y, r, info) {
location.href="http://ahiro.mongolian.jp/gps/gps6.php?lon="+x+"&lat="+y;