title: Google Currency Converter has changed its URL but not getting same result
body: <p>I have the following code (below) and was using the iGoogle version.</p>
  
  <pre><code>   $url = 'http://www.google.com/ig/calculator?hl=en&amp;q=' . $amount . $from_Currency . '=?' . $to_Currency;
  
      $ch = curl_init();
      $timeout = 0;
  
      curl_setopt ($ch, CURLOPT_URL, $url);
      curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch,  CURLOPT_USERAGENT , "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)");
      curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
      $rawdata = curl_exec($ch);
      curl_close($ch);
  
      $data = explode('"', $rawdata);
      $data = explode(' ', $data[3]);
      $var = $data[0];
  </code></pre>
  
  <p>BUT having looked they are using a different URL:</p>
  
  <pre><code>  'http://www.google.com/finance/converter?hl=en&amp;a=' . $amount . '&amp;from=' . $from_Currency . '&amp;to=USD';
  </code></pre>
  
  <p>But simply changing the url does not return the required result that i was used to.</p>
  
  <p>Now all i would get is </p>
  
  <pre><code> http://www.w3.org/TR/html4/strict.dtd
  </code></pre>
  
  <p>SO has anyone worked on this latest currency converter URL or have any ideas.  Or a replacement using PHP </p>