Evony Guides and Help
Trik Forum - RuneScape Forum  
Register Forum Homepage Members Mark Forums Read


Trik Members: 34,705 | Total Posts: 134,006 | Total Threads: 25,847
Welcome to our newest member, ahr1mz.
Go Back   Trik Forum - RuneScape Forum > Coder's Corner > Programming > Web Programming
Reload this Page [PHP] RS Username Leecher
Web Programming Includes all web languages such as HTML and PHP.


Reply
 
Thread Tools Display Modes
[PHP] RS Username Leecher
Old
  (#1)
Trikster is Offline
Lieutenant
Trikster is an unknown quantity at this point
 
Posts: 387
Join Date: Nov 2007
Location: Enterprise, Alabama
  Send a message via MSN to Trikster  
Default [PHP] RS Username Leecher - 05-05-2009, 04:39 AM

Just made this for another site.

PHP Code:
<?php
    
    $pages 
$_GET['pages'];
    
    for(
$i 0$i <= $pages$i++) {
      
$ch curl_init();
      
curl_setopt($chCURLOPT_URL'http://hiscore.runescape.com/overall.ws?rank=' . ($i*22) . '&table=0&scroll=true&category_type=0');
      
curl_setopt($chCURLOPT_RETURNTRANSFER1);
      
$userlist curl_exec($ch);
      
curl_close($ch);
      
      
preg_match_all('/hiscorepersonal.ws\?user1=(.*)\"/'$userlist$arrPREG_PATTERN_ORDER);
      
      foreach(
$arr[1] as $key => $value$usernames .= $value "`r`n";
    }
    
    if (
$usernames) {
      
$usernames_path hash('crc32''usernames-rs' time()) . '.txt';
      echo 
'<a href="' $username_path '">Download usernames</a>';
      
$fh fopen($usernames_path'w+'))
      
fwrite($fh$usernames);
      
$fclose($fh);
    }
  
?>
Example: /path/to/this/script.php?pages=5
Result: First 5 pages of usernames from the RS hiscores. They are then saved in a text file, which you can download.



  
Reply With Quote Share with Facebook
How does swine flu spread Is it airborne
Old
  (#2)
vwxy052 is Offline
Banned
vwxy052 is an unknown quantity at this point
 
Posts: 3
Join Date: Oct 2008
   
Exclamation How does swine flu spread Is it airborne - 05-05-2009, 06:47 AM

How does swine flu spread? Is it airborne?The new swine flu virus apparently spreads just like regular flu. You could pick up germs directly from an infected person, or by touching an object they recently touched, and then touching your eyes, mouth, or nose, delivering their germs for your own infection. That's why you should make washing your hands a habit, even when you're not ill. Infected people can start spreading flu germs up to a day before symptoms start, and for up to seven days after getting sick, according to the CDC.The swine flu virus can become airborne if you cough or sneeze without covering your nose and mouth, sending germs into the air.The U.S. residents infected with swine flu virus had no direct contact with pigs. The CDC says it's likely that the infections represent widely separated cycles of human-to-human infections.------------------------------------------------------lingerie wholesalesexy lingerie
  
Reply With Quote Share with Facebook
Re: [PHP] RS Username Leecher
Old
  (#3)
dnxviral is Offline
Corporal
dnxviral is an unknown quantity at this point
 
Posts: 115
Join Date: Sep 2009
   
Default Re: [PHP] RS Username Leecher - 09-22-2009, 05:00 PM

neat little bit their
  
Reply With Quote Share with Facebook
Reply

Thread Tools
Display Modes

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





======================================================================================== ---------------------------------------------------------------------------------------- ========================================================================================

Your Ad Here

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright © Trik.com