start out in PHP & stock quotes

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Locked
jcAugur
Forum Newbie
Posts: 1
Joined: Wed Jun 25, 2008 6:00 pm

start out in PHP & stock quotes

Post 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
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: start out in PHP & stock quotes

Post 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.
jack_indigo
Forum Contributor
Posts: 186
Joined: Sun Jun 08, 2008 11:25 pm

Re: start out in PHP & stock quotes

Post 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.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: start out in PHP & stock quotes

Post by Benjamin »

:arrow: Old Thread = Locked
Locked