The simple code below produced results for me before. Now however it won't return anything. Does anyone know why? I have tried to specify my username and token/password when initiating the $geo variable, but it didn't work for me. Thank you!
Code:
<?php
require_once 'Services/GeoNames.php';
$geo = new Services_GeoNames();
$ret = $geo->srtm3(array(
'lat' => 42.52878,
'lng' => -90.61625,
));
echo $ret->srtm3;
$geo1 = new Services_GeoNames();
$ret1 = $geo1->gtopo30(array(
'lat' => 42.52878,
'lng' => -90.61625,
));
echo $ret1->gtopo30;
?>