Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    print "Content-type:text/html\n\n";
    ...
    $dbh->disconnect();
    print <"TESTING</br>">;
    print "</body></html>";
    
  2. or download this
    Content-type:text/html
    
    DBI::db=HASH(0x81dc3e0)->disconnect invalidates 1 active statement han
    +dle (eithe
    r destroy statement handles or call finish on them before disconnectin
    +g) at ./new.response.cgi line 22.
    
  3. or download this
    $sth = $dbh->prepare(qq{
        SELECT * from login 
    ...
    
    $sth->execute($logname)
        or die("Failed to execute: $DBI::errstr\n");