You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or [download ZIP](https://github.com/raspgot/Contact-Form-PHP/archive/master.zip)
38
+
Or [download ZIP](https://github.com/raspgot/Contact-Form-PHP/archive/master.zip) and extract it
39
39
40
40
2. **Run locally** with PHP:
41
41
@@ -49,7 +49,7 @@ Built with **Bootstrap 5**, **AJAX**, **PHPMailer**, and **Google reCAPTCHA v3**
49
49
50
50
### 1. Configure backend
51
51
52
-
Get your reCAPTCHA secret key at [Google reCAPTCHA admin](https://www.google.com/recaptcha/admin)
52
+
Get your reCAPTCHA secret key from the [Google reCAPTCHA Console](https://console.cloud.google.com/security/recaptcha/create)
53
53
54
54
Edit **`AjaxForm.php`** with your credentials:
55
55
@@ -62,7 +62,9 @@ const SMTP_SECURE = 'tls';
62
62
const SMTP_PORT = 587;
63
63
```
64
64
65
-
> **Note:** Enable `php_curl` in `php.ini`
65
+
> **Note:** Enable `php_curl` in `php.ini`.
66
+
>
67
+
> This extension allows PHP to make HTTP requests (for example, to verify reCAPTCHA or send emails via some SMTP providers). Without it, the contact form will not work properly
66
68
67
69
```ini
68
70
extension=curl
@@ -100,8 +102,8 @@ extension=curl
100
102
## 🔒 Advanced Features
101
103
102
104
- Regex-based bot User-Agent blocking
103
-
- DNS & disposable email checks
104
-
- reCAPTCHA score filtering (min. 0.5)
105
+
- DNS email domain (MX / A) validation
106
+
- reCAPTCHA v3 verification – threshold currently 0.6
0 commit comments