| | |
how to find stock information with php script
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2004
Posts: 14
Reputation:
Solved Threads: 0
Greetings,
This is my first post in this group.
I am new to php script language. I am trying to use it get stock information and plot them in my way. A lot of examples showed to get stock quote in csv format from yahoo finance. In stead of quote, does anyone know the addresses to get other stock information, such as P/E, Key Statistics, etc from any public web site?
Thank you much.
phpnovice
This is my first post in this group.
I am new to php script language. I am trying to use it get stock information and plot them in my way. A lot of examples showed to get stock quote in csv format from yahoo finance. In stead of quote, does anyone know the addresses to get other stock information, such as P/E, Key Statistics, etc from any public web site?
Thank you much.
phpnovice
•
•
Join Date: Jul 2004
Posts: 11
Reputation:
Solved Threads: 1
I think there's a reason that those sites point you to Yahoo! As far as I know, nothing like that is available. However, since that data is just that, data, you could build a parser with extensive searching (a la preg_match) and simply steal Yahoo!'s information for everything. I've got a feeling it would violate Yahoo!'s terms of service, but if it's for personal or classroom use, I hardly assume they'd even notice anyone using a utility like that.
•
•
Join Date: Aug 2004
Posts: 14
Reputation:
Solved Threads: 0
Hi,
Thanks for your help. I am not sure I will try if it violates something. But at least you gave me some knowledge.
phpnovice
Thanks for your help. I am not sure I will try if it violates something. But at least you gave me some knowledge.
phpnovice
•
•
•
•
Originally Posted by rice_web
I think there's a reason that those sites point you to Yahoo! As far as I know, nothing like that is available. However, since that data is just that, data, you could build a parser with extensive searching (a la preg_match) and simply steal Yahoo!'s information for everything. I've got a feeling it would violate Yahoo!'s terms of service, but if it's for personal or classroom use, I hardly assume they'd even notice anyone using a utility like that.
You can look for a web service that has stock quotes and parse the XML. Try http://www.xmethods.net/
Check out my blog at http://www.shinylight.com for more stuff about web dev.
•
•
Join Date: Aug 2004
Posts: 14
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by Gary
One of these might help as well: http://www.hotscripts.com/cgi-bin/se...ocks&catid=all
Here you helped me again.
Thanks.
phpnovice
•
•
Join Date: Aug 2004
Posts: 14
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by inscissor
You can look for a web service that has stock quotes and parse the XML. Try http://www.xmethods.net/
Thanks. I will try it.
By the way flash is very cool! I wish I could do the same sometime.
phpnovice
![]() |
Similar Threads
- how to make member expire after so many days with php script (PHP)
- need help with PHP Script translation (PHP)
Other Threads in the PHP Forum
- Previous Thread: face-pic or faceparty type php software
- Next Thread: PHP & File Extensions
| Thread Tools | Search this Thread |
apache api array auto beginner binary broken cache cakephp checkbox class cms code codingproblem cron curl customizableitems database date display dynamic echo email error errorlog file files filter folder form format forms forum function functions gc_maxlifetime global google headmethod href htaccess html image include insert ip javascript joomla limit link login mail malfunctioning memmory memory menu method mlm multiple mysql nodes oop parameter parsing paypal pdf php phpmysql popup query radio random recursion recursiveloop remote script search select server sessions snippet source space sql static survey syntax system table trouble tutorial up-to-date update upload url validator variable video web youtube






