php json from url, "no such file or directory"
<pre><code>&lt;?php

header('Cache-Control: no-cache, must-revalidate');
header('Content-type: application/json'); 

$jsonData = json_decode(file_get_contents(urlencode('https://chart.googleapis.com/chart?cht=p3&amp;chs=250x100&amp;chd=t:60,40&amp;chl=Hello|World&amp;chof=json')));

echo $jsonData;

?&gt;
</code></pre>

<p>Error: <code>failed to open stream: No such file or directory in &lt;b&gt;C:\wamp\www\file.php</code></p>

<p>I want to print the result as a json string so i can handle it with jquery ajax. What am i missing?  Thanks</p>
