Help for this page

Select Code to Download


  1. or download this
    use CGI;
    my $q = new CGI;
    ...
                               ); 
        print $q->header( -cookie=>$cookie );
    }
    
  2. or download this
    # returns username stored in cookie if we have validated user or 0 if 
    +not
    sub validate {
        return $q->cookie('validated')  if $q->cookie('validated');
      return 0;
    }
    
  3. or download this
    use CGI;
    use Crypt::Blowfish;
    ...
    </form>
    HTML
    }