results-php
Created Wednesday 19 June 2019
<html>
<head>
<title> results</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<?php
$answers=$_POST;
/* confirmation code */
$fullcode = base64_encode(time()+get64BitNumber($fsuid));
$longcode = substr("$fullcode", 0 , -2 );
$finalcode = substr("$longcode", -7 );
/*$final = strrev("$code");
*/
#array_unshift($answers,$final);
#$imploded=implode( "," , $answers);
file_put_contents("midterm5362-17-8-$final", print_r($_POST, true));
echo "<h1> Submission entered </h1>";
echo "Thank you for your submission. <br>";
echo "Here are the answers you provided:";
echo "<pre>";
print_r($answers);
echo "</pre>";
echo "Your confirmation code is <b>$final</b> (It is case sensitive), please save it in case there is a grading issue. You may want to save this entire page with Ctrl-S. <br>
<br>NOTE</br> If, after reviewing your answers, you'd like to make a change, simply click back and resubmit the entire quiz. I will have all your submissions, but will only grade the last one. DEFINITELY make note of the code that corresponds to your final answer.";
?>
</body>
<body>
Backlinks: FSU Courses:5367:The Quiz Grader