Dr. Who Episode Title Generator

\n"; return $count; } Function GetLineFromFile ( $file, $number ) { $fp = fopen( $file, "r"); $i = 1; while( $number > $i) { fgets( $fp, 2048); $i++; } $line = fgets( $fp, 2048); fclose( $fp); return $line; } Function DrWhoTitle($file) { $count = GetLineCount( $file); echo "\n\n"; $first = GetLineFromFile( $file, rand() % $count + 1); $second = GetLineFromFile( $file, rand() % $count + 1); return "$first of the $second"; } ?> Today's Episode:

This web page randomly generates a new prospective title for a Dr. Who episode each time that you view it. To see another title, use your browsers ``Reload'' button.

Engine written by Gavin Peters, Concept and Word List by Mike Dines. Thanks to deepsky media resources for hosting.