Page 1 of 1

start out in PHP & stock quotes

Posted: Wed Jun 25, 2008 6:04 pm
by jcAugur
I'm just starting out learning PHP. I'm trying to grab a stock quote from yahoo/google/etc. I found a few sites with free script to perform these actions and tried to use it in dreamweaver.

I'm wondering if I need to have both apache and PHP instailed to test the script?

Thank you,

James

Re: start out in PHP & stock quotes

Posted: Wed Jun 25, 2008 7:02 pm
by alex.barylski
PHP and Apache are likely need, yes. As well as addition extensions required (if any).

It is likely illegal to just grab stock quotes from a Yahoo or Google listing, maybe look into Web Services or API's which allow such access, it's much easier than grabbing it yourself anyways.

Re: start out in PHP & stock quotes

Posted: Thu Jun 26, 2008 9:59 pm
by jack_indigo
You only need Apache, or any kind of web server, if you want to serve it up for others to use. Otherwise, you have php-cli (PHP Command Line Interface) to use to access other services on the web via curl or sockets page crape, or one of the various web services APIs.

Re: start out in PHP & stock quotes

Posted: Wed Jul 07, 2010 12:01 am
by Benjamin
:arrow: Old Thread = Locked