[PHP] using PHP to access another site - stock quotes ??

2002-02-23 Thread Pax


Hi,

I am developing site that needs to have stock quotes retrieved and
placed into the database. Perhaps someone know if there is a site that
would supply me with quotes? - I just do not want to do it manually :-((

I guess I could setup a cron job to run @ midnight and update quotes for
selected stocks but I am not sure where to access quotes - any pointers?

Thanks
Paul



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] using PHP to access another site - stock quotes ??

2002-02-23 Thread Erik Price

You might be interested in learning more about XML-RPC, which will allow 
cross-platform language-neutral XML documents to generate events or 
perform remote procedural calls (RPC).

You can use any language that can parse XML documents, which of course 
includes our beloved PHP.  This article focuses on Python, but it's just 
an introduction and the theory is the same for PHP:
http://www.onlamp.com/pub/a/python/2000/11/22/xmlrpcclient.html

Erik


On Saturday, February 23, 2002, at 02:04  PM, Pax wrote:


 Hi,

 I am developing site that needs to have stock quotes retrieved and
 placed into the database. Perhaps someone know if there is a site that
 would supply me with quotes? - I just do not want to do it manually :-((

 I guess I could setup a cron job to run @ midnight and update quotes for
 selected stocks but I am not sure where to access quotes - any pointers?

 Thanks
 Paul



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php









Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php