Help for this page

Select Code to Download


  1. or download this
    Mojo::Transaction::success is DEPRECATED in favor of Mojo::Transaction
    +::result and Mojo::Transaction::error at C:/strawberry/perl/site/lib/
    +Mojolicious/Plugin/ReCAPTCHAv2.pm line 100.
    Error code : missing-input-response
    
  2. or download this
    %= form_for surv => (method => 'POST') => begin
    <ul class='form-style-1'>
    ...
    </li>
    </ul>
    %end
    
  3. or download this
    ....
    use Mojolicious::Plugin::ReCAPTCHAv2;
    ...
    ...
    
    }
    
  4. or download this
    sub post {
        my $c   = shift;
    ...
        }
    
    }
    
  5. or download this
        my %verify_params = (
                    remoteip => $c->tx->remote_address,
                    response => ( $c->req->param('g-recaptcha-response') |
    +| '' ),
                    secret   => $plugin->conf->{'secret'},
                );
    
  6. or download this
    use Mojolicious::Lite;
    use DBI;
    ...
    <%= $captcha %>
    %= submit_button
    %en
    
  7. or download this
    {
        hypnotoad => {
          listen => ['https://*:3000']
                     }
    }