[Warning] file_get_contents(http://maps.google.com/maps/api/geocode/json?address=+Gutenbergstr+2%2C+77955+Ettenheim): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden

GET /kontakt/

Line 60 in /var/www/production/ss_hewe_web/htdocs/core/code/media/google/maps/simpleGMapGeocoder.php

Source

51       $address = str_replace("�", "Oe", $address);
52       $address = str_replace("�", "Ue", $address);
53       $address = str_replace("�", "ss", $address);
54 
55     
56     //$address = utf8_encode($address);
57     
58     // call geoencoding api with param json for output
59     $geoCodeURL = "http://maps.google.com/maps/api/geocode/json?address=".urlencode($address);
60     $result = json_decode(file_get_contents($geoCodeURL), true);
61     $coords['status'] = $result["status"];
62     $coords['lat'] = $result["results"][0]["geometry"]["location"]["lat"];
63     $coords['lng'] = $result["results"][0]["geometry"]["location"]["lng"];
64     
65     return $coords;
66 }

Trace

Kontakt

Kontakt

HEWE Fenster GmbH
Gutenbergstr. 2
77955 Ettenheim

Telefon: 07822 / 44 5 88-0
Telefax: 07822 / 44 5 88-9
E-Mail: info@hewe-ettenheim.de

Kontaktformular

Anfahrt planen

Planen Sie Ihre Anfahrt bequem über Google Maps:

Los