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>
	';
}
?>

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.