Try out the various forms of reCAPTCHA.
+You can find the source code for these examples on GitHub in google/recaptcha.
+-
+
reCAPTCHA v2
+ +
+ reCAPTCHA v3
+-
+
- Request scores +
+ General
+ +
+
From 1296ddbe792ba3366eadf32d07e75ad85a366a33 Mon Sep 17 00:00:00 2001 From: BenjaminToby <52448020+BenjaminToby@users.noreply.github.com> Date: Sun, 20 Jun 2021 08:02:27 +0100 Subject: [PATCH] add new form and nav interactions --- contact-form/LICENSE.md | 21 + contact-form/README.md | 36 + contact-form/config.example.php | 37 + contact-form/functions.php | 19 + contact-form/index.php | 99 + contact-form/submit.php | 97 + contact-form/vendor/autoload.php | 7 + contact-form/vendor/composer/ClassLoader.php | 445 ++ contact-form/vendor/composer/LICENSE | 21 + .../vendor/composer/autoload_classmap.php | 23 + .../vendor/composer/autoload_namespaces.php | 9 + .../vendor/composer/autoload_psr4.php | 11 + .../vendor/composer/autoload_real.php | 52 + .../vendor/composer/autoload_static.php | 57 + contact-form/vendor/composer/installed.json | 115 + .../.github/ISSUE_TEMPLATE/bug_report.md | 28 + .../vendor/google/recaptcha/.gitignore | 7 + .../vendor/google/recaptcha/.travis.yml | 33 + .../vendor/google/recaptcha/ARCHITECTURE.md | 64 + .../vendor/google/recaptcha/CONTRIBUTING.md | 49 + contact-form/vendor/google/recaptcha/LICENSE | 29 + .../vendor/google/recaptcha/README.md | 140 + contact-form/vendor/google/recaptcha/app.yaml | 8 + .../vendor/google/recaptcha/composer.json | 39 + .../recaptcha/examples/appengine-https.php | 42 + .../google/recaptcha/examples/config.php.dist | 46 + .../google/recaptcha/examples/examples.css | 37 + .../examples/google0afd8760fd68f119.html | 1 + .../google/recaptcha/examples/index.php | 79 + .../recaptcha-content-security-policy.php | 152 + .../recaptcha-v2-checkbox-explicit.php | 148 + .../examples/recaptcha-v2-checkbox.php | 139 + .../examples/recaptcha-v2-invisible.php | 141 + .../examples/recaptcha-v3-request-scores.php | 120 + .../examples/recaptcha-v3-verify.php | 59 + .../google/recaptcha/examples/robots.txt | 2 + .../vendor/google/recaptcha/phpunit.xml.dist | 20 + .../recaptcha/src/ReCaptcha/ReCaptcha.php | 269 + .../recaptcha/src/ReCaptcha/RequestMethod.php | 50 + .../src/ReCaptcha/RequestMethod/Curl.php | 82 + .../src/ReCaptcha/RequestMethod/CurlPost.php | 104 + .../src/ReCaptcha/RequestMethod/Post.php | 88 + .../src/ReCaptcha/RequestMethod/Socket.php | 112 + .../ReCaptcha/RequestMethod/SocketPost.php | 108 + .../src/ReCaptcha/RequestParameters.php | 111 + .../recaptcha/src/ReCaptcha/Response.php | 218 + .../vendor/google/recaptcha/src/autoload.php | 69 + .../tests/ReCaptcha/ReCaptchaTest.php | 198 + .../ReCaptcha/RequestMethod/CurlPostTest.php | 123 + .../ReCaptcha/RequestMethod/PostTest.php | 149 + .../RequestMethod/SocketPostTest.php | 136 + .../tests/ReCaptcha/RequestParametersTest.php | 70 + .../tests/ReCaptcha/ResponseTest.php | 173 + .../vendor/phpmailer/phpmailer/COMMITMENT | 46 + .../vendor/phpmailer/phpmailer/LICENSE | 502 ++ .../vendor/phpmailer/phpmailer/README.md | 221 + .../vendor/phpmailer/phpmailer/SECURITY.md | 28 + .../vendor/phpmailer/phpmailer/VERSION | 1 + .../vendor/phpmailer/phpmailer/composer.json | 51 + .../phpmailer/phpmailer/get_oauth_token.php | 144 + .../phpmailer/language/phpmailer.lang-af.php | 25 + .../phpmailer/language/phpmailer.lang-am.php | 26 + .../phpmailer/language/phpmailer.lang-ar.php | 27 + .../phpmailer/language/phpmailer.lang-az.php | 26 + .../phpmailer/language/phpmailer.lang-ba.php | 26 + .../phpmailer/language/phpmailer.lang-be.php | 26 + .../phpmailer/language/phpmailer.lang-bg.php | 26 + .../phpmailer/language/phpmailer.lang-ca.php | 26 + .../phpmailer/language/phpmailer.lang-ch.php | 26 + .../phpmailer/language/phpmailer.lang-cs.php | 25 + .../phpmailer/language/phpmailer.lang-da.php | 26 + .../phpmailer/language/phpmailer.lang-de.php | 25 + .../phpmailer/language/phpmailer.lang-el.php | 25 + .../phpmailer/language/phpmailer.lang-eo.php | 25 + .../phpmailer/language/phpmailer.lang-es.php | 26 + .../phpmailer/language/phpmailer.lang-et.php | 27 + .../phpmailer/language/phpmailer.lang-fa.php | 27 + .../phpmailer/language/phpmailer.lang-fi.php | 27 + .../phpmailer/language/phpmailer.lang-fo.php | 26 + .../phpmailer/language/phpmailer.lang-fr.php | 29 + .../phpmailer/language/phpmailer.lang-gl.php | 26 + .../phpmailer/language/phpmailer.lang-he.php | 26 + .../phpmailer/language/phpmailer.lang-hi.php | 26 + .../phpmailer/language/phpmailer.lang-hr.php | 26 + .../phpmailer/language/phpmailer.lang-hu.php | 26 + .../phpmailer/language/phpmailer.lang-id.php | 27 + .../phpmailer/language/phpmailer.lang-it.php | 27 + .../phpmailer/language/phpmailer.lang-ja.php | 27 + .../phpmailer/language/phpmailer.lang-ka.php | 26 + .../phpmailer/language/phpmailer.lang-ko.php | 26 + .../phpmailer/language/phpmailer.lang-lt.php | 26 + .../phpmailer/language/phpmailer.lang-lv.php | 26 + .../phpmailer/language/phpmailer.lang-mg.php | 25 + .../phpmailer/language/phpmailer.lang-ms.php | 26 + .../phpmailer/language/phpmailer.lang-nb.php | 25 + .../phpmailer/language/phpmailer.lang-nl.php | 28 + .../phpmailer/language/phpmailer.lang-pl.php | 26 + .../phpmailer/language/phpmailer.lang-pt.php | 26 + .../language/phpmailer.lang-pt_br.php | 29 + .../phpmailer/language/phpmailer.lang-ro.php | 26 + .../phpmailer/language/phpmailer.lang-ru.php | 27 + .../phpmailer/language/phpmailer.lang-sk.php | 27 + .../phpmailer/language/phpmailer.lang-sl.php | 27 + .../phpmailer/language/phpmailer.lang-sr.php | 27 + .../phpmailer/language/phpmailer.lang-sv.php | 26 + .../phpmailer/language/phpmailer.lang-tl.php | 27 + .../phpmailer/language/phpmailer.lang-tr.php | 30 + .../phpmailer/language/phpmailer.lang-uk.php | 27 + .../phpmailer/language/phpmailer.lang-vi.php | 26 + .../phpmailer/language/phpmailer.lang-zh.php | 28 + .../language/phpmailer.lang-zh_cn.php | 28 + .../phpmailer/phpmailer/src/Exception.php | 39 + .../vendor/phpmailer/phpmailer/src/OAuth.php | 138 + .../phpmailer/phpmailer/src/PHPMailer.php | 4778 +++++++++++++++++ .../vendor/phpmailer/phpmailer/src/POP3.php | 419 ++ .../vendor/phpmailer/phpmailer/src/SMTP.php | 1370 +++++ index.html | 88 +- main.css | 146 +- scripts/main.js | 69 +- 119 files changed, 13824 insertions(+), 56 deletions(-) create mode 100644 contact-form/LICENSE.md create mode 100644 contact-form/README.md create mode 100644 contact-form/config.example.php create mode 100644 contact-form/functions.php create mode 100644 contact-form/index.php create mode 100644 contact-form/submit.php create mode 100644 contact-form/vendor/autoload.php create mode 100644 contact-form/vendor/composer/ClassLoader.php create mode 100644 contact-form/vendor/composer/LICENSE create mode 100644 contact-form/vendor/composer/autoload_classmap.php create mode 100644 contact-form/vendor/composer/autoload_namespaces.php create mode 100644 contact-form/vendor/composer/autoload_psr4.php create mode 100644 contact-form/vendor/composer/autoload_real.php create mode 100644 contact-form/vendor/composer/autoload_static.php create mode 100644 contact-form/vendor/composer/installed.json create mode 100644 contact-form/vendor/google/recaptcha/.github/ISSUE_TEMPLATE/bug_report.md create mode 100644 contact-form/vendor/google/recaptcha/.gitignore create mode 100644 contact-form/vendor/google/recaptcha/.travis.yml create mode 100644 contact-form/vendor/google/recaptcha/ARCHITECTURE.md create mode 100644 contact-form/vendor/google/recaptcha/CONTRIBUTING.md create mode 100644 contact-form/vendor/google/recaptcha/LICENSE create mode 100644 contact-form/vendor/google/recaptcha/README.md create mode 100644 contact-form/vendor/google/recaptcha/app.yaml create mode 100644 contact-form/vendor/google/recaptcha/composer.json create mode 100644 contact-form/vendor/google/recaptcha/examples/appengine-https.php create mode 100644 contact-form/vendor/google/recaptcha/examples/config.php.dist create mode 100644 contact-form/vendor/google/recaptcha/examples/examples.css create mode 100644 contact-form/vendor/google/recaptcha/examples/google0afd8760fd68f119.html create mode 100644 contact-form/vendor/google/recaptcha/examples/index.php create mode 100644 contact-form/vendor/google/recaptcha/examples/recaptcha-content-security-policy.php create mode 100644 contact-form/vendor/google/recaptcha/examples/recaptcha-v2-checkbox-explicit.php create mode 100644 contact-form/vendor/google/recaptcha/examples/recaptcha-v2-checkbox.php create mode 100644 contact-form/vendor/google/recaptcha/examples/recaptcha-v2-invisible.php create mode 100644 contact-form/vendor/google/recaptcha/examples/recaptcha-v3-request-scores.php create mode 100644 contact-form/vendor/google/recaptcha/examples/recaptcha-v3-verify.php create mode 100644 contact-form/vendor/google/recaptcha/examples/robots.txt create mode 100644 contact-form/vendor/google/recaptcha/phpunit.xml.dist create mode 100644 contact-form/vendor/google/recaptcha/src/ReCaptcha/ReCaptcha.php create mode 100644 contact-form/vendor/google/recaptcha/src/ReCaptcha/RequestMethod.php create mode 100644 contact-form/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/Curl.php create mode 100644 contact-form/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/CurlPost.php create mode 100644 contact-form/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/Post.php create mode 100644 contact-form/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/Socket.php create mode 100644 contact-form/vendor/google/recaptcha/src/ReCaptcha/RequestMethod/SocketPost.php create mode 100644 contact-form/vendor/google/recaptcha/src/ReCaptcha/RequestParameters.php create mode 100644 contact-form/vendor/google/recaptcha/src/ReCaptcha/Response.php create mode 100644 contact-form/vendor/google/recaptcha/src/autoload.php create mode 100644 contact-form/vendor/google/recaptcha/tests/ReCaptcha/ReCaptchaTest.php create mode 100644 contact-form/vendor/google/recaptcha/tests/ReCaptcha/RequestMethod/CurlPostTest.php create mode 100644 contact-form/vendor/google/recaptcha/tests/ReCaptcha/RequestMethod/PostTest.php create mode 100644 contact-form/vendor/google/recaptcha/tests/ReCaptcha/RequestMethod/SocketPostTest.php create mode 100644 contact-form/vendor/google/recaptcha/tests/ReCaptcha/RequestParametersTest.php create mode 100644 contact-form/vendor/google/recaptcha/tests/ReCaptcha/ResponseTest.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/COMMITMENT create mode 100644 contact-form/vendor/phpmailer/phpmailer/LICENSE create mode 100644 contact-form/vendor/phpmailer/phpmailer/README.md create mode 100644 contact-form/vendor/phpmailer/phpmailer/SECURITY.md create mode 100644 contact-form/vendor/phpmailer/phpmailer/VERSION create mode 100644 contact-form/vendor/phpmailer/phpmailer/composer.json create mode 100644 contact-form/vendor/phpmailer/phpmailer/get_oauth_token.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-af.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-am.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ar.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-az.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ba.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-be.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-bg.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ca.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ch.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-cs.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-da.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-de.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-el.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-eo.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-es.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-et.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-fa.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-fi.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-fo.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-fr.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-gl.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-he.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-hi.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-hr.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-hu.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-id.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-it.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ja.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ka.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ko.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-lt.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-lv.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-mg.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ms.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-nb.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-nl.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-pl.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-pt_br.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ro.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-ru.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-sk.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-sl.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-sr.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-sv.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-tl.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-tr.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-uk.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-vi.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/language/phpmailer.lang-zh_cn.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/src/Exception.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/src/OAuth.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/src/PHPMailer.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/src/POP3.php create mode 100644 contact-form/vendor/phpmailer/phpmailer/src/SMTP.php diff --git a/contact-form/LICENSE.md b/contact-form/LICENSE.md new file mode 100644 index 0000000..d5ca331 --- /dev/null +++ b/contact-form/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Hans Adema + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/contact-form/README.md b/contact-form/README.md new file mode 100644 index 0000000..3d8440f --- /dev/null +++ b/contact-form/README.md @@ -0,0 +1,36 @@ +# Simple Contact Form with PHPMailer + +A simple contact form with PHPMailer, reCAPTCHA and Bootstrap. + +Use this to provide a simple contact form on your own website, and send the messages with SMTP. Or use this as a basis or example to create your own contact form. + +## Getting Started + +1. Download the latest version of the contact form: https://github.com/InfinityFreeHosting/contactform/releases +2. Extract the archive on your own computer. +3. Copy the `config.example.php` to `config.php` and edit the required settings. +4. Upload the extracted files to a subdirectory of your hosting account (e.g. `htdocs/contact/`). +5. Navigate to http://your-domain.epizy.com/contact/ and try out the form! + +### How to get your SMTP credentials + +To be able to send messages with this contact form, you'll need a working SMTP service. InfinityFree does not provide this with free hosting, but you can use third party SMTP services. + +A simple, free option to use is Gmail. You can use Gmail to send your messages like so: + +1. Sign up for a free Gmail account. +2. Enable Two Factor Authentication on the Google account: https://myaccount.google.com/signinoptions/two-step-verification +3. Generate an App Specific Password for the account: https://myaccount.google.com/apppasswords +4. In the configuration file, set the SMTP Hostname `smtp.gmail.com`, enter your full Gmail address in the SMTP Username field and enter the App Specific Password in the SMTP Password field. + +### How to get your reCAPTCHA credentials + +To prevent spammers from being able to abuse your contact form, reCAPTCHA has been integrated by default. reCAPTCHA is a free service from Google which can prevent automated scripts from using your form. + +This contact form has been integrated with reCAPTCHA v2 with the Checkbox challenge. To use this, you will need to setup your site in reCAPTCHA like so: + +1. Go to the reCAPTCHA admin console: https://www.google.com/recaptcha/admin/create +2. Enter a label you can use to identify your website. +3. Choose the reCAPTCHA type "reCAPTCHA v2" and the version "Checkbox 'I'm not a robot'". +4. Under Domains, enter the domain name of your website. +5. Accept the reCAPTCHA terms and click Send. diff --git a/contact-form/config.example.php b/contact-form/config.example.php new file mode 100644 index 0000000..4e36a88 --- /dev/null +++ b/contact-form/config.example.php @@ -0,0 +1,37 @@ + + + +
+ + + + + + + +Try out the various forms of reCAPTCHA.
+You can find the source code for these examples on GitHub in google/recaptcha.
+If you do not have keys already then visit https://www.google.com/recaptcha/admin to generate them. Edit this file and set the respective keys in $siteKey and $secret. Reload the page after this.
+ +This example is sending the Content-Security-Policy header. Look at the source and inspect the network tab for this request to see what's happening. The reCAPTCHA v3 API is being called here, however you can use the same approach for the v2 API calls as well.
+NOTE:This is a sample implementation, the score returned here is not a reflection on your Google account or type of traffic. In production, refer to the distribution of scores shown in your admin interface and adjust your own threshold accordingly. Do not raise issues regarding the score you see here.
+If you do not have keys already then visit https://www.google.com/recaptcha/admin to generate them. Edit this file and set the respective keys in the config.php file or directly to $siteKey and $secret. Reload the page after this.
+ +That's it. Everything is working. Go integrate this into your real project.
+ + +Check the error code reference at https://developers.google.com/recaptcha/docs/verify#error-code-reference. +
Note: Error code missing-input-response may mean the user just didn't complete the reCAPTCHA.
+ + +Complete the reCAPTCHA then submit the form.
+ + + + +If you do not have keys already then visit https://www.google.com/recaptcha/admin to generate them. Edit this file and set the respective keys in the config.php file or directly to $siteKey and $secret. Reload the page after this.
+ +That's it. Everything is working. Go integrate this into your real project.
+ + +Check the error code reference at https://developers.google.com/recaptcha/docs/verify#error-code-reference. +
Note: Error code missing-input-response may mean the user just didn't complete the reCAPTCHA.
+ + +Complete the reCAPTCHA then submit the form.
+ + + +If you do not have keys already then visit https://www.google.com/recaptcha/admin to generate them. Edit this file and set the respective keys in $siteKey and $secret. Reload the page after this.
+ +That's it. Everything is working. Go integrate this into your real project.
+ + +Check the error code reference at https://developers.google.com/recaptcha/docs/verify#error-code-reference. +
Note: Error code missing-input-response may mean the user just didn't complete the reCAPTCHA.
+ + +Submit the form and reCAPTCHA will run automatically.
+ + + + +If you do not have keys already then visit https://www.google.com/recaptcha/admin to generate them. Edit this file and set the respective keys in $siteKey and $secret. Reload the page after this.
+ +The reCAPTCHA v3 API provides a confidence score for each request.
+NOTE:This is a sample implementation, the score returned here is not a reflection on your Google account or type of traffic. In production, refer to the distribution of scores shown in your admin interface and adjust your own threshold accordingly. Do not raise issues regarding the score you see here.
+'; + foreach ($this->errors as $e) { + print_r($e); + } + echo ''; + } + } + + /** + * Get an array of error messages, if any. + * + * @return array + */ + public function getErrors() + { + return $this->errors; + } + + /** + * POP3 connection error handler. + * + * @param int $errno + * @param string $errstr + * @param string $errfile + * @param int $errline + */ + protected function catchWarning($errno, $errstr, $errfile, $errline) + { + $this->setError( + 'Connecting to the POP3 server raised a PHP warning:' . + "errno: $errno errstr: $errstr; errfile: $errfile; errline: $errline" + ); + } +} diff --git a/contact-form/vendor/phpmailer/phpmailer/src/SMTP.php b/contact-form/vendor/phpmailer/phpmailer/src/SMTP.php new file mode 100644 index 0000000..c693f4d --- /dev/null +++ b/contact-form/vendor/phpmailer/phpmailer/src/SMTP.php @@ -0,0 +1,1370 @@ + + * @author Jim Jagielski (jimjag)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
@@ -115,7 +124,7 @@
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices gravida. Risus commodo
@@ -171,50 +180,37 @@
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
- tempor incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices gravida. Risus
- commodo viverra maecenas accumsan lacus vel facilisis. My Tools For Creating Awesomeness
So. Let's have a chat
+ So. Let's talk
+