[PHP][Source]Grabbing RuneScape news

Discussion in 'Web Programming' started by Quikuli, Aug 30, 2007.

[PHP][Source]Grabbing RuneScape news
  1. Unread #1 - Aug 30, 2007 at 9:30 AM
  2. Quikuli
    Joined:
    Aug 19, 2007
    Posts:
    79
    Referrals:
    0
    Sythe Gold:
    0

    Quikuli Member
    Banned

    [PHP][Source]Grabbing RuneScape news

    I hope u like it...:rolleyes:

    Code:
    <?php
    
    $line=file("http://www.runescape.com/title.ws");
    $snum=0;
    
    $enum=0;
    $s = 'www.runescape.com/img/title2/recent_news.gif" alt="Recent News"></dt>';
    
    $e = '<img class="narrowscroll-bottom" src="http://www.runescape.com/img/scroll/scroll457_bottom.gif" alt="" width="466" height="50">';
    
    
    
    for($i=0;$i<count($line);$i++) {
          
        if(strstr($line[$i],$s)) {$snum=$i;}
        
        if(strstr($line[$i],$e)) {$enum=$i;}
    }
    
    for($i=$snum;$i<$enum;$i++) {
        
          
          
          echo $line[$i];
    }
    ?>  
     
  3. Unread #2 - Sep 5, 2007 at 7:41 AM
  4. Oh Jesus
    Joined:
    Aug 2, 2005
    Posts:
    1,087
    Referrals:
    0
    Sythe Gold:
    2
    Vouch Thread:
    Click Here

    Oh Jesus Guru

    [PHP][Source]Grabbing RuneScape news

    Good Job mate nice to see you helping out the community :)
     
  5. Unread #3 - Sep 5, 2007 at 7:41 AM
  6. Josh0is0here
    Joined:
    Feb 28, 2007
    Posts:
    2,996
    Referrals:
    0
    Sythe Gold:
    41
    Discord Unique ID:
    465712343276453888
    Discord Username:
    Cooper
    Two Factor Authentication User Tier 1 Prizebox

    Josh0is0here Grand Master
    $25 USD Donor Retired Sectional Moderator

    [PHP][Source]Grabbing RuneScape news

    Let me see if it works, but if so your amazing. Now go get the games code.

    Edit: that was a joke, I doubt anyone has access to the game code.
     
< Faster Than Imageshack... | website help >

Users viewing this thread
1 guest


 
 
Adblock breaks this site