Jump to content

[SOLVED] New Cryptic Login , confusing style


DeanWhitehouse

Recommended Posts

Ok, so this is a unique way i wanted to access some private sections of my site

, what i want to is be presented with four radio selections each one a different value , and one of the values is one i will recognise (which is in the array $checks)

So far my problem is the fact that when run some of the selection boxes have duplicate numbers in, any advice on this?

 

This is the page

http://webstatus.awardspace.info/Personal/

<?php
$checks = array("28","08","19","91");
$X = 0;
echo '
	<form action="" method="post">
	';
$new = rand(0,3);
$new1 = rand(0,100);	
$new2 = rand(50,100);	
$new3 = rand(0,50);
$random = array("0","1","2","3");
$arr = array('<input type="radio" name="check" value="'.$checks[$new].'">'.$checks[$new].'','<input type="radio" name="check" value="'.$new1.'">'.$new1.'','<input type="radio" name="check" value="'.$new2.'">'.$new2.'','<input type="radio" name="check" value="'.$new3.'">'.$new3.'');
while($X < 4)
{
	$test = rand(0,3);
	$test1 = $random[$test];
	echo $arr[$test1]."<br>";
	$X ++;
}
echo '	
	<input type="submit" name="go" value="Check"><br>
	</form>
	';
}
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.