All pastes #407520 Raw Edit

Unnamed

public text v1 · immutable
#407520 ·published 2007-03-24 02:36 UTC
rendered paste body
<?php
$clans = "http://www.rshsc.net/search.php?search=";
$clans .= str_replace(" ", "+", $_GET['rsname']);
$clanz = file_get_contents($clans);
preg_match_all("/'<tr style='text-align:center\;'\n<td style='width:140px\; 

border-color:#404040\;'><b>?<\/b><\/td>\n<td style='width:90px\; border-color:#404040\;'><a href='(.+)'> ? 

</a>(.+)</td>\n(.+)<td style='width:90px\; border-color:#404040\;'>(.+)<\/td>\n<td style='width:90px\; 

border-color:#404040\;'>(.+)<\/td>\n<td style='width:90px\;border-color:#404040\;'>(.+)<\/td> \n 

<\/tr>/",$clanz,$hai);
foreach($hai as $temp => $r) {
$clan = "$temp[2]($r)";
echo "$clan \n";
}
?>