[Help] PHP grapping runescape news

Discussion in 'Web Programming' started by ozozo, May 25, 2007.

[Help] PHP grapping runescape news
  1. Unread #1 - May 25, 2007 at 4:10 PM
  2. ozozo
    Joined:
    Feb 11, 2007
    Posts:
    82
    Referrals:
    0
    Sythe Gold:
    0

    ozozo Member
    Banned

    [Help] PHP grapping runescape news

    How i can get php grap runescape news?:D
     
  3. Unread #2 - May 27, 2007 at 1:17 PM
  4. night
    Joined:
    Apr 21, 2005
    Posts:
    60
    Referrals:
    1
    Sythe Gold:
    5

    night Member
    Banned

    [Help] PHP grapping runescape news

    you can fopen the runescape site, then use string functions to parse out the news.
     
  5. Unread #3 - May 28, 2007 at 12:07 PM
  6. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    [Help] PHP grapping runescape news

    $x = file_get_contents("http://www.runescape.com");

    $x is all of the runescape index page in one string, so you might want to use regex or some similar method of parsing the string to get what you want.
     
  7. Unread #4 - May 28, 2007 at 3:04 PM
  8. ozozo
    Joined:
    Feb 11, 2007
    Posts:
    82
    Referrals:
    0
    Sythe Gold:
    0

    ozozo Member
    Banned

    [Help] PHP grapping runescape news

    ok I'll try...
     
  9. Unread #5 - May 30, 2007 at 3:42 PM
  10. Puzzle
    Joined:
    May 6, 2005
    Posts:
    846
    Referrals:
    0
    Sythe Gold:
    0

    Puzzle Apprentice

    [Help] PHP grapping runescape news

    or just use explode() and split out what you need
     
< if,then,else statements in html----HURRY!!!! | Buying a Fake Myspace Login >

Users viewing this thread
1 guest


 
 
Adblock breaks this site