getting values inside PHP from outside script
| From: | Scott Mebberson | Date: | Mon, 27 Aug 2001 01:04:15 +0000 |
| Subject: | getting values inside PHP from outside script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-64566@lists.php.net to get a copy of this message | ||
Hi Guys,
I want to write a script that retrieves quote prices off the ASX (Australian
Stock Exchange) and then adds it to the database.
I think the only way I can do this is by using the yahoo finance query.....
I need to know how I can call a string within my PHP script and then get the
results. The results are returned in a comma delimited format. Any ideas?
use
http://au.finance.yahoo.com/d/quotes.csv?s=NAB&m=a&f=sl1d1t1c1ohgv&e=.csv
to
see the results.
thanks
Scott.