Hi,

I have a weird question and i don't know if it is possible to be done,
but... let's try.

I have a login page and then i send the user and the password to another
script that analyse this information.

What i want to do in this script is the following:

If the user is not user1 or user2 i will open again the login page but i
want to post a parameter to this login page telling the user that it is
his/her second try.

For example (this is the second script):

If (($user ne 'user1') || ($user ne 'user2')) {
$try = 2;

#THIS IS THE WAY THAT I AM DOING BUT I DON'T WANT THE USER TO CLICK
#ON THE SUBMIT BUTTON WHEN IT HAPPENS, I WANT IT TO AUTO SUBMIT...

print "Content-type:text/html\n\n";
print <<EndOfHTML;
<FORM NAME="formulario" METHOD="post" ACTION="login.pl">
<INPUT TYPE="hidden" NAME="tries" VALUE=$try>
<INPUT TYPE="submit" value="OK">

EndOfHTML
}

Thanks again,
Wagner


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to