westmatrix99
10-04-2007, 09:52 AM
You can use checkform with this in dreamweaver to validate the two textboxes or your own PHP check value script, ENJOY.<?php
$random_chars2 = substr(str_shuffle('1234567890'), 0, 6); /set your characters or numbers and the amount of text here.
$_SESSION['secret']=$random_chars2; /The random key.
?>Working script:
<div align="left">
<p>Copy and paste this number into the box below to continue.<br />
<?php
$random_chars2 = substr(str_shuffle('1234567890'), 0, 6);
$_SESSION['secret']=$random_chars2;
?>
<input type="text" name="randomkey" value='<?php echo $_SESSION['secret'];?>' readonly="true">
</p><p> Paste the number here to continue.<br />
<input name="vercode" type="text" maxlength="6" />
</p></div>I hope I don't get an infraction for this helping thread.
$random_chars2 = substr(str_shuffle('1234567890'), 0, 6); /set your characters or numbers and the amount of text here.
$_SESSION['secret']=$random_chars2; /The random key.
?>Working script:
<div align="left">
<p>Copy and paste this number into the box below to continue.<br />
<?php
$random_chars2 = substr(str_shuffle('1234567890'), 0, 6);
$_SESSION['secret']=$random_chars2;
?>
<input type="text" name="randomkey" value='<?php echo $_SESSION['secret'];?>' readonly="true">
</p><p> Paste the number here to continue.<br />
<input name="vercode" type="text" maxlength="6" />
</p></div>I hope I don't get an infraction for this helping thread.