0) { $w = explode("~", $rest); for ($j=0; $j<20; $j++) { $words[$j] = ""; if (isset($w[$j])) $words[$j] = $w[$j]; if (strlen($words[$j]) >= 1) { if (strlen($words[$j]) != ($j + 1)) $westart = -1; $startword = file_get_contents("http://" . $_SERVER['SERVER_NAME'] . ":" . $_SERVER['SERVER_PORT'] . "/PHP/surprise.php?huh=" . strtolower($words[$j]) . "&youllneverfindthis=y"); if ($startword == "true") { $startword = $startword; } else { $startword = file_get_contents("http://" . $_SERVER['SERVER_NAME'] . ":" . $_SERVER['SERVER_PORT'] . "/PHP/surprise.php?huh=" . str_replace("*","",str_replace("s*","",(strtolower($words[$j]) . "*"))) . "&youllneverfindthis=y"); if ($startword == "true") { $startword = $startword; } else { if ($startword == "false") $roff += strlen($words[$j]); if ($startword == "false") $words[$j]=''; } } } if (strlen($words[$j]) != 0) { if ($tstart < 0) { $tstart=$j; if ($j > 0 && $westart == 0) { for ($jj=0; $jj<$j; $jj++) { $wordd[$jj] = "inline"; } } } if ($westart == 0) $westart++; if ($westart > 1) { $westart=-1; for ($jj=$tstart; $jj<$j; $jj++) { $wordd[$jj] = "inline"; } } if (strlen($rest) > 19) { $wordd[$j] = "inline"; $wordd[$j + 1] = "inline"; if (isset($_GET['email'])) $kk=($j + 1); } } else { if ($westart > 0) $westart++; for ($jj=$j; $jj<20; $jj++) { if (strlen($words[$jj - 1]) == 0) { if (strlen($rest) > 19) { $wordd[$jj] = "none"; } } } } } } if ($kk >= 0) $words[$kk] = $ending; $emailee = ""; $onload = "" + ' onload=" setTimeout(andthen,1000); emailto(' + "''" + '); "'; if (isset($_GET['submit']) || isset($_GET['submitemail'])) { $goes = $goes + 1; } if ((isset($_GET['submit']) || isset($_GET['submitemail'])) && $westart >= 0 && ((strlen($rest) - 19) - $roff) > 0) { $score = $score + (strlen($rest) - 19) - $roff; $emailee = $_GET['submitemail']; if (isset($_GET['submitemail'])) { if (strpos($emailee, "@") === false) $emailee = $ideatois; $onload = ' onload=" setTimeout(andthen,1000); emailto(' . "'" . $emailee . "'" . '); "'; } } $showing = ""; for ($j=0; $j<20; $j++) { if ($wordd[$j] != "none") $showing = "y"; } if ($showing == "") { for ($j=0; $j<12; $j++) { $wordd[$j] = "inline"; } } } ?> My Rhopalic Letter Sentence Game - RJM Programming - January, 2015 > Your Rhopalic Letter English Sentence Game

Score: " . $score . " / Goes: " . $goes . "

"; for ($j=0; $j<20; $j++) { echo "\n"; } echo "



"; $words = array("A", "go", "for", "them", "would", "really", "improve", "fairness", "standards", "constantly", "threatening", "cohesiveness", "", "", "", "", "", "", "", ""); $wordd = array("inline", "inline", "inline", "inline", "inline", "inline", "inline", "inline", "inline", "inline", "inline", "inline", "inline", "none", "none", "none", "none", "none", "none", "none", "inline"); $ending = "."; $score = 0; $goes = 0; $isvalid = "y"; $targeteq = " target='myi' "; echo "
"; } else { echo "
"; } ?>

My Rhopalic Letter English Sentence Game

Score: / Goes:

> "; } ?>