Hi, My codes does not show any Latitude or Longitude but it did last night when I started writing this code?!
$postcode = 'BN113ED';
$response = file_get_contents('http://maps.googleapis.com/maps/api/geocode/json?address=' . urlencode($postcode) . '&sensor=true');
$response = json_decode($response);
$lat = $response->results[0]->geometry->location->lat;
$long = $response->results[0]->geometry->location->lng;
here is the URL that shows the JSON
http://maps.googleapis.com/maps/api/geocode/json?address=bn113ed&sensor=true