Do you want to do this from a CGI script ? If you have a HTML form asking for USERNAME it can call something like:
In HTML Page: <form action="../scripts/password.plx" method="POST"> Please enter an username: <input type="password" name="username"></p> </blockquote> </form> In Perl CGI: use strict; use CGI; my $q = new CGI; my $username = $q->param('username'); if ($username eq ''){ print "Location: {login HTML Page URL}\n\n"; } else { # do whatever you want to do! } This reads in the passed 'username' using CGI.pm and simply looks to see if it is empty. If it is the user is redirected back to the login HTML page. Hope this helps. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]