Need a favor

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)

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?

Excellent! Thanks.New build going up

1 Like