Help for this page

Select Code to Download


  1. or download this
    $count=0;
    $sth->bind_columns(\($siteid, $imageurl));
    while($sth->fetch()) {
     $sites{$siteid}=$imageurl;
     $count++;
    }
    
  2. or download this
    $sth->bind_columns(\($siteid, $imageurl));
    while($sth->fetch()) {
        $sites{$siteid} = $imageurl;
    }
    $count = keys %sites;
    
  3. or download this
    my $error = 1;
    if ( my($type, $size) = ( head($imageurl) )[0, 1] ) {
        if ($size < 25600) {
    ...
    } else {
        print FILE "update big_ass_table set imagedown=0 where siteid=$sit
    +eid and imageurl='$imageurl';\n";
    }