Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-31-2009, 11:40 PM   PM User | #1
kosstr12
Regular Coder

 
kosstr12's Avatar
 
Join Date: Apr 2007
Location: Woodstock, Georgia
Posts: 428
Thanks: 7
Thanked 5 Times in 5 Posts
kosstr12 is on a distinguished road
Retrieving information from another page

Is it possible with php to go to another page and retrieve parts of the code? For example:
Say MSN has a stock ticker, and I want to make one also. Am I able to go to the stock page, and select the number that the stock is currently at? With PHP.

Thanks,
Koss
kosstr12 is offline   Reply With Quote
Old 02-01-2009, 12:23 AM   PM User | #2
masterofollies
Senior Coder

 
Join Date: May 2005
Posts: 2,137
Thanks: 96
Thanked 72 Times in 72 Posts
masterofollies can only hope to improve
All depends on how you code it
masterofollies is offline   Reply With Quote
Old 02-01-2009, 07:54 AM   PM User | #3
Iszak
Regular Coder

 
Iszak's Avatar
 
Join Date: Jun 2007
Location: Perth, Western Australia
Posts: 332
Thanks: 2
Thanked 58 Times in 57 Posts
Iszak is an unknown quantity at this point
Implying the code is HTML yes, you could use file_get_contents, or cURL, I'm sure there are others. Then you'd want a HTML parser or regular expressions, most people recommend a HTML parser.
Iszak is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:25 PM.


Advertisement
Log in to turn off these ads.