Hmm. As you said, one can change the headers to prompt for a download, and this is what I mean. If I type in the url directly, which used to simply display the text, it now prompts me with a save as dialoge.
How can I bypass this and simply accept the text from my fpopen() statement?
Here is my code.
$fp = fopen ("http://finance.yahoo.com/d/quotes.csv?s=MSFT&f=sl1d1t1c1ohgv&e=.csv","r");
while ($data = fgetcsv ($fp, 10000, ","))
{
blah blah blah
}
fclose($fp);
Thanks
John
Richard A. Rijnders wrote:
What do you mean when you say <i>force a download of this data </i>? They can't force anything on you, they can only change the headers on the data they are sending you which you can skip, ignore, whatever.
-- Rich