Administrators Nabeel Posted August 5, 2008 Administrators Report Share Posted August 5, 2008 I'm finishing up the import, but I'm trying to decide on something;Can you guys make a plain page, with this: <?php $reader = simplexml_load_file('http://ws.geonames.org/search?style=short&maxRows=1&featureCode=AIRP&q=kjfk');print_r($reader); ?> Just paste in what it says, I'm just seeing if the extension is enabled on your servers (it's supposed to be by default) Quote Link to comment Share on other sites More sharing options...
eurobelgian Posted August 5, 2008 Report Share Posted August 5, 2008 If I have good understood your instructions... I get this as result: A blank page with: SimpleXMLElement Object ( [@attributes] => Array ( [style] => SHORT ) [totalResultsCount] => 1 [geoname] => SimpleXMLElement Object ( [name] => JFK Airport [lat] => 40.6398262 [lng] => -73.7787443 [geonameId] => 5122732 [countryCode] => US [fcl] => S [fcode] => AIRP ) ) I hope it's alright? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted August 5, 2008 Author Administrators Report Share Posted August 5, 2008 Excellent! Thanks.New build going up Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.