Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Login Script

by scorpio17 (Canon)
on Aug 28, 2012 at 21:03 UTC ( [id://990334]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $user_name = $cgi_object->param('user_name'} || '';
    my $passwd = $cgi_object->param('passwd') || '';
    unless ($user_name && $passwd) {
    # handle cgi param error
    }
    
  2. or download this
    eval {
      $sth = $dbh->prepare("select pass from users where user=?");
    ...
    if ($@) {
    # handle database error
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://990334]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found