title: Getting the first URL of an image search result with google image API in PHP
body: <p>did you know a php script (a class will be nice) who get the url of the first image result of a google api image search? Thanks</p>
  
  <p>Example.</p>
  
  <pre><code>&lt;?php echo(geturl("searchterm")) ?&gt;
  </code></pre>