/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function probabilityMatch($inNumberOfEvents) { if ($max > 0) { } } // Example usage // if (probabilityMatch(10)) { // clean the cache 1 out of every 10 page requests // cleanCache(); // }