Login   Register  
PHP Classes
elePHPant
Icontem

File: yahoostock.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Gobinath Mallaiyan  >  Yahoo Developer  >  yahoostock.php  >  Download  
File: yahoostock.php
Role: Example script
Content type: text/plain
Description: Stock Quote Example
Class: Yahoo Developer
Retrieve stock quotes from Yahoo Finance site
Author: By
Last change: Bug Fixed
Date: 2006-02-03 02:43
Size: 391 bytes
 

Contents

Class file image Download
<?php

include_once("yahoo.inc.php");
$ts=array("^BSESN","MSFT","YHOO");
$yahoo = new devYahoo();
$yahoo->setSymbol($ts);

echo 
"<br><b>Stock Quotes are Accessed from Yahoo INC's[Yahoo.com]</b><br> Please let Me know if this is Illegal. <br>The Class is for Educational Purpose. <b><u>For Commercial usage.</u></b> Please get Approval from Yahoo INC to uses there Resource";
?>