Help for this page

Select Code to Download


  1. or download this
    my $frompath = "$DATAPATH/documentset/$company/$dept/$doc_id";
    my $writetopath = "$EX_DATAPATH/external_gn/$doc_id";
    ...
    copy($untainted_source_path, $untainted_dest_path);
    
    my $upload = &upload_file($g, $q, $untainted_source_path, $untainted_d
    +est_path);
    
  2. or download this
    sub untaintMe {
      my ($self, $inputArg, $typeArg) = @_;
    ...
                            
       return @returnArray;
    }
    
  3. or download this
    sub upload_file() {
      my ($g, $q, $readpath, $writepath) = @_;
    ...
    
      return 1;
    }