請問PHP問題!

2007-04-24 9:15 pm
我想知點樣用PHP去assess到Yahoo!財經股票的股價,例如我想每30分鐘assess一次5號仔HSBC的股價,我應該點寫?? thx!

回答 (1)

2007-04-25 10:36 pm
✔ 最佳答案
Strictly speaking this is not a PHP question.

Your code cannot have access to Yahoo database unless Yahoo opens a port and give you the credentials to access its server, which is quite unlikely.

Requesting information from another vendor is achieved by making remote procedure calls to the vendor. This is like calling a function but only in this case the function is on the vendor's remote server. The remote function returns the required information, usually in XML format. These days these remote procedure calls are called web services, which allow one server to call upon the services of another server.

Visit this Yahoo site to see what Yahoo API's are available for developers.
http://developer.yahoo.com/


收錄日期: 2021-04-26 13:12:42
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070424000051KK01317

檢視 Wayback Machine 備份