for the original bofh excuse server: http://www.cs.wisc.edu/~ballard/bofh/ ------------------------------------------------------------------- [2004-08-28] odd: http://wiki.asleep.net/BOFHInetdPHP?show_comments=1 http://pgl.yoyo.org/bofh/ripoff.html (local copy) someone's ripped off this code and signed it with "author A.Sleep " it's not exactly the same, but it's definitely based off this code. how strange. oh well. ------------------------------------------------------------------- [2008-01-24] Nick Leverton http://www.leverton.org Add http-equiv for "Pragma: no-cache". ------------------------------------------------------------------- */ // $excusefile can either be a local file like this: $excusefile = 'excuses.txt'; // or you can use a url to make sure you're using the latest excuses file: #$excusefile = 'http://www.cs.wisc.edu/~ballard/bofh/excuses'; // netscape 4 breaks when style files disappear, plus we save an extra // header if the stylesheet is included: // $stylefile = 'style.inc'; function excuse($excusefile) { if (!$excuses = @file($excusefile)) return "couldn't read excuse file '$excusefile'"; // mt_srand((double)microtime()*1000000); // not necessary after php 4.2.0 return $excuses[mt_rand(0, count($excuses)-1)]; } ?> bofh excuse server

your excuse: