Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Starting with CGI::Application and Logins

by Zed_Lopez (Chaplain)
on Aug 22, 2004 at 08:04 UTC ( [id://384900]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Login;
    use base 'CGI::Application';
    ...
    }
    
    1;
    
  2. or download this
    package Login::DBI;
    use base "Class::DBI::mysql";
    
    __PACKAGE__->connection( "dbi:mysql:db", "db_user", "db_password" );
    
    1;
    
  3. or download this
    package Login::User;
    use base 'Login::DBI';
    ...
    Login::User->columns(All => qw(uid login password));
    
    1;
    
  4. or download this
    #!/usr/bin/perl -w
    use Login;
    my $app = Login->new();
    $app->run();
    
  5. or download this
    CREATE TABLE user (
      uid int(10) unsigned NOT NULL auto_increment,
    ...
      password char(16) default NULL,
      PRIMARY KEY  (uid)
    ) TYPE=MyISAM;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-26 05:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found