rendered paste body<?php
$w = $_GET['w'];
if (!$w) {
die("Specify a world!\n");
}
$file = file('http://runescape.com/slj.ws?lores.x=0&plugin=-1&order=wMLP');
$x = 0;
while ($x <= count($file)) {
if (stristr($file[$x],'d.write("</tr>")')) {
$worlds = explode(";", $file[$x+2]);
$find = 0;
while ($find <= count($worlds)) {
if (stristr($worlds[$find],$w)) {
// Lets parse out this function
$rm = array('e',')','(',';','"');
$string = str_replace($rm,"",$worlds[$find]);
$ex = explode(",", $string);
echo $ex[0];
}
$find++;
}
$x++;
}
?>