I need to grab the data from a website and display it on my .PHP page...........
For instance, get the STOCK MARKET details from a STOCK MARKET WEBSITE and i want to display
those STOCK DETAILS in my .PHP page.....
5 replies to this topic
#1
Posted 14 November 2011 - 07:16 AM
|
|
|
#2
Posted 14 November 2011 - 11:28 AM
#3
Posted 14 November 2011 - 12:25 PM
lol33d said:
you can use PHP: preg_match - Manual and PHP: preg_match_all - Manual
I need to know the same thing , but i didnt understand what you wanted to tell with these link.
#4
Posted 14 November 2011 - 07:45 PM
lol33d said:
you can use PHP: preg_match - Manual and PHP: preg_match_all - Manual
Thanks for ur reply....
#5
Posted 15 November 2011 - 04:04 AM
At first, you need to get the pages from the other servers with file_get_contents or with the curl functions, or similar.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#6
Posted 15 November 2011 - 05:14 AM
What's the file? html, rss, xml, php? If its rss/xml then you can get the data then use simplexml to parse it.
Or if its html,php(or any other backend), then a regex will be the way.
Or if its html,php(or any other backend), then a regex will be the way.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









