I want a textbox on the login page so you can enter a text contained in the database to obtain information, a special information I have to do it in a block because to show it on the front page så all global user can se it.

my code look like this in a block:

{
<html>
<form method="post" action="">
<textarea name="code" cols="40" rows="1">
Enter your code here to verify the certificate..
<input type="text" name="code" size="50">
</textarea><br>
<input type="submit" value="Submit" />

</form>

<?php
if (certid==$GET_password)
{
echo $get_uid;
echo $get_certid;
}
else
print('no certificate found');
?>

}

Comments

jthorson’s picture

Status: Active » Closed (won't fix)