$values) { if(strpos($values['value'], "http") !== false) $score++; } $percent_complete = number_format(($progress/$total)*100,1); $moderation_link = "mod link
"; echo $score."\t$username\t$moderation_link\n"; // this outputs a progress indicator to stderr // reporting content size of the json file in case I run into any rate limit issues fwrite(STDERR, "Downloaded ".number_format($content_size,0)." bytes... ($percent_complete%)\n"); } else { // do nothing, user already suspended } $progress++; } ?>