Help for this page

Select Code to Download


  1. or download this
    $fHandle = CGI::->new();
    $fCounter = 0;
    while ($fCounter <= 4) {
        $fBuffer[$fCounter] = fHandle->param($fName[$fCounter]);
        $fCounter = $fCounter + 1;
    }
    
  2. or download this
    $fHandle = CGI->new(); # note you don't need the colons
    for (0..4) {
        $fBuffer[$_] = $fHandle->param($fName[$_]);
    }
    
  3. or download this
    if ($fBuffer[0] ne "Proccess") {goto BadAccess}
    if (length($fBuffer[1]) < 1) {goto BadAccess}
    if (length($fBuffer[2]) < 1) {goto BadAccess}
    if ($fBuffer[3] ne "thread2") {goto BadAccess}
    
  4. or download this
    BadAccess() if ( $Buffer[0] ne "Process"
        or length $fBuffer[1] < 1 
        or length $fBuffer[2] < 1
        or $fBuffer[3] ne "thread2" );