yahoo stock widget remote call using php
<p>I am using yahoo's finance stock quotes to get the stock ticker data from their api . 
To grab the data using </p>

<pre><code>$data = file_get_contents("http://quote.yahoo.com/d/quotes.csv?s=appl&amp;f=sl1d1t1c1ohgv&amp;e=.csv"); 
$values = explode(",", $data);
echo '&lt;pre&gt;';
print_r($values);    
</code></pre>

<p>Now this works perfectly fine in my local server (localhost) , i.e $values are echoed out . 
But when i upload this file onto my server ,it prints out the URL :  <a href="http://quote.yahoo.com/d/quotes.csv?s=appl&amp;f=sl1d1t1c1ohgv&amp;e=.csv" rel="nofollow">http://quote.yahoo.com/d/quotes.csv?s=appl&amp;f=sl1d1t1c1ohgv&amp;e=.csv</a> . I know there is some issue with the file_get_contents on the server . Even allow_url_fopen is set to 'ON' on the server .Just cant seem to figure out the issue on the server end . </p>
