Uhmm i downloaded a file from somewhere that does this and returns the variable to a flash file, here was the code from it.. hope it helps:
<?php
$TextVariable = '&text1=';
$StockSymbol = strtoupper($StockSymbol);
$targetURL = "http://finance.yahoo.com/q?s=$StockSymbol&d=v1";
$fd = fopen( "$targetURL", "r");
while (!feof($fd)) {
$buffer = fgets($fd, 2048);
if (strstr($buffer, "<td nowrap><b>")) {
$buffer = ereg_replace('Chart', '', $buffer);
$buffer = ereg_replace('</td>', ' ', $buffer);
$buffer = strip_tags($buffer);
echo $TextVariable;
echo $buffer;
}
}
fclose($fd);
?>