PHP Parsing Conundrum - "Missing Symbols Listed"
<p>I am trying to access the Yahoo site by getting Stock quotes:</p>

<pre><code>http://de.finance.yahoo.com/d/quotes.csv?s=^DJI&amp;f=nsl1op&amp;e=.csv
</code></pre>

<p>and it doesn't seem to be downloading any data.  I get "Missing Symbols Listed.". Weird b/c this used to work!</p>

<pre><code>&lt;?php

function market_value($s) {

    $records= fopen ("http://quote.yahoo.com/d/quotes.csv?s=$s&amp;f=nsl1&amp;e=.csv");
    $contents = fread ($records);
    fclose ($records);

    $data = str_replace ("\"", "", $data);
    $data = explode (",", $data);

    $trade= $data[2];

    return (".$trade.")";
}
</code></pre>
