= 1 && rtrim(ltrim($inwl)) != "") { $outw = " "; for ($i=0; $i" . $wl[$i] . " "; } return $outw; } else { return $inwl; } } if (isset($_GET['wordlist'])) { $wordlist = $_GET['wordlist']; } if (isset($_POST['word'])) { $theword = $_POST['word']; } else if (isset($_GET['huhbig'])) { if (strpos($_GET['huhbig'], "~") !== false) { $thewords = explode("~", $_GET['huhbig']); $theword = $thewords[0]; $wordlist = str_replace("!", " ", str_replace("wordlist=", "", $thewords[1])); $score = str_replace("score=", "", $thewords[2]); } else { $theword = $_GET['huhbig']; } } else { $theword = strtolower(file_get_contents("http://" . $_SERVER['SERVER_NAME'] . ":" . $_SERVER['SERVER_PORT'] . "/PHP/surprise.php?min=4&max=12")); } for ($i=0; $i Words Within Words - RJM Programming - 2014 \n"; } else { echo "\n \n"; } ?>
Words Within Words' . "\n"; } else { echo "\n" . '

Words Within Words ... Words so far: ' . expanded($wordlist) . '

' . "\n"; } if ($outof < $score) { $outof = $score; } echo "\n

Score: " . $score . "

\n"; echo "\n" . '
' . "\n"; echo "\n" . '' . "\n"; ?>     ' . "\n"; ?>
         
         
         
         
         
Email Game Link to Friend

Big word below has letters for you to work with

Your word (if blank, starts new game):