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
start out in PHP & stock quotes
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: start out in PHP & stock quotes
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.
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.
-
jack_indigo
- Forum Contributor
- Posts: 186
- Joined: Sun Jun 08, 2008 11:25 pm
Re: start out in PHP & stock quotes
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.