Home > Investor Relation > Titolo

Titolo

//CURL
require_once TEMPLATEPATH . "/functions" . "/simplehtmldom.php";
$ch = curl_init();
$timeout = 5;
// set to zero for no timeout
curl_setopt ($ch, CURLOPT_URL, 'http://it.finance.yahoo.com/q?s=BEST.MI');
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);// display file

//echo $file_contents;
$html = str_get_html($file_contents);
$elem = $html->find(‘div[id=yfi_quote_summary_data]‘, 0);
echo ‘

BEST UNION COMPANY

(Milan: BEST.MI Codice: 427391 / ISIN: IT0004273915)

‘;
echo $elem;
echo ‘

‘;
echo ‘

Le quotazioni, se non diversamente indicato, sono differite. Valuta in EUR. Fonte: Yahoo Finance

‘;
?>

Grafico

Best Union Company (BEST.MI)