Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
This discussion has been closed.
Comments
The code is well documented, here's the critical bit:
// Here we split it into lines
$quotes = explode( $lineSeparator, $quotesString);
// And then randomly choose a line
$chosen = $quotes[ mt_rand(0, $i - 1 ) ];
foreach ($result as $row) { $remainder = $counter % $dayofyear; if ($remainder == 0) { output the $row; break; } }