i have an interesting problem... im kinda building a sports website, and i want to have a statistics table, but i dont realy want to update it by myself everytime (or lets say i want to build an archive, and dont feel like inputing it all ?) is there any way to access a table or other data from other websites ? i can think maybe downloading the source info by PHP command or something ?
thank you very much
Nur
accessing other website data with PHP
Started by LCD344, Oct 31 2010 01:30 PM
3 replies to this topic
#1
Posted 31 October 2010 - 01:30 PM
|
|
|
#2
Posted 31 October 2010 - 09:03 PM
You can use an HTML DOM parser, PHP includes one. The sports web site may include a paid API for external access, as I doubt they would want you to rip their data.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 01 November 2010 - 11:20 PM
Hmmm... I'm not sure how legible it is but google "Making a search engine in php" back before my pc got wiped I had some search engine code- you enter a address and it would open the address with the r command (like a .txt file).
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
#4
Posted 03 November 2010 - 08:23 AM
thanks you very much... ill try doing that...


Sign In
Create Account

Back to top









