HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/verhoevenfourage.komma.pro/wwwroot/test.php
<?php
	session_start();
	
	?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>

<?php
		echo("Stored Session:".$_SESSION['backgrNummer']);
		$backgrNummer = rand(1, 3);
		echo("<br /><br />Rand getal:".$backgrNummer);
		
		if($_SESSION['backgrNummer'] == $backgrNummer){ echo("<br /><br />is Gelijk"); }
		
		if($_SESSION['backgrNummer'] == $backgrNummer){
			$backgrNummer = $backgrNummer + 1;
			echo("<br /><br />Getal + 1:".$backgrNummer);
			if($backgrNummer > 3){ $backgrNummer = 1; }
			echo("<br /><br />Getal omdat gelijk:".$backgrNummer);
		}	
		$_SESSION['backgrNummer'] = $backgrNummer;
		
			
		echo("<br /><br />SessionNew:".$_SESSION['backgrNummer']);
?>
        
        
</body>
</html>