Help for this page

Select Code to Download


  1. or download this
        $CGI::DISABLE_UPLOADS = 1;          # Disable uploads
        $CGI::POST_MAX        = 512 * 1024; # limit posts to 512K max
    
  2. or download this
        use CGI::Safe;
        my $q = CGI::Safe->new( DISABLE_UPLOADS => 0 );
    
  3. or download this
        use CGI::Safe;
        $CGI::DISABLE_UPLOADS = 0;
        my $q = CGI::Safe->new;
    
  4. or download this
        my $q = CGI::Safe->new( data => $stuff );
    
  5. or download this
    ################################
    package CGI::Safe;
    ...
        return ( exists $args{ data } ) ? CGI::new( $self, $args{ data } )
    + :
                                          CGI::new( $self );
    }