Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "<br><a href=\"home.cgi\">home</a>\n";
    print end_html;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    print end_html;
    
  3. or download this
    #Initiate the connection to the database
    my $dbh = DBI->connect("DBI:mysql:database=DATABASE;host=localhost", "
    +USER","PASS",{'RaiseError' => 1});
    ...
    my $session = new CGI::Session(undef, $cgi, {Directory=>'/tmp'});