
(File created by Mitchell S.)
if ($_POST['answer']) { $answer = array(0,0,0,0,0,0,0,0); $number = array(0,0,0,0,0,0,0,0); $title = stripslashes($_POST['title']); $question = stripslashes($_POST['question']); $num = count($_POST['answer']); $i = 0; $chars = array('-', '_', '!',"'", ' ', '.'); // letters, numbers, underscores, dashes, and apostrophes allowed for title if(!ctype_alnum(str_replace($chars, '3', $title))) { die ("Only letters, numbers, underscores, dashes, and apostrophes, and dots allowed for the title"); } while ($i < $num) { $answer[$i] = stripslashes($_POST['answer'][$i]); // letters, numbers, underscores, dashes, and apostrophes allowed for answers if(!ctype_alnum(str_replace($chars, '3', $answer[$i]))) { die ("Only letters, numbers, underscores, dashes, and apostrophes, and dots allowed for answers"); } $number[$i] = $_POST['responses'][$i]; if (!ctype_digit($number[$i]) or $number[$i] > 100) die ("Only numbers between 0 and 100 allowed for the response count"); ++$i; } print "Paste the text below into a text file named answers.txt
\n"; print "Then, save the flash file to your computer (right-click this link and select save as)
\n"; print "Put both answers.txt and familyfeud.swf in the same folder on your computer. Then open familyfeud.swf! Create multiple folders to make multiple game files!
"; print "\n"; ?> } ?>