title: Google Maps API v3 PHP Request Returns Error
body: <p>I am trying to use a PHP script to get the Lat/Long of an address using the Google Maps API v3. I have looked at many examples of how to do this, but none of them are working for me. I always get an error in my response. Here is my code:</p>
  
  <pre><code>&lt;?php
  $jsonurl = "http://maps.google.com/maps/api/geocode/json?sensor=false&amp;key=MY_API_KEY&amp;address=1600+Pennsylvania+Avenue+Northwest+Washington+DC+20500";
  echo $json = file_get_contents($jsonurl);
  ?&gt;
  </code></pre>
  
  <p>And here is the output from that script:</p>
  
  <blockquote>
    <p>{ "results" : [], "status" : "REQUEST_DENIED" }</p>
  </blockquote>
  
  <p>I have tried everything I can think of to get this working. I have tried generating a new API key with my server IP address to no avail. Has anyone encountered this problem before?</p>