Tags:
Views: 3
// The address to convert
$address = '1600 Pennsylvania Av, Washington, DC';
// Chose your method, with or without user info
$wsdl = 'http://geocoder.us/dist/eg/clients/GeoCoderPHP.wsdl';
// Make the connection
$client = new SoapClient($wsdl);
// Use this to see what services are available
var_dump($client->__getFunctions());
// Actually call the service
$result = $client->geocode($address);
var_dump($result);
© 2026 Created by Ning Developer Admin.
Powered by