

Advanced Contact FormAdvanced Contact Form
Advanced Contact Form : is a professional PHP contact form with AJAX support, multi-language, and an admin panel .
Advanced Contact Form
Advanced Contact Form : is a professional PHP contact form with AJAX support, multi-language, and...
Overview
**Advanced Contact Form** is a professional PHP-based project (no framework) for creating a flexible and customizable contact form.
With multi-language support (EN, AR, FR, ES, DE), AJAX/non-AJAX submission, and an admin panel for managing messages and settings.
Features
- **Dynamic Fields Management**
- Add, edit, and delete form fields from the admin panel.
- Fields are stored in the database in JSON format.
- **Multi-Language Support**
- Supports English, Arabic, French, Spanish, and German.
- Default language is set in `config/app.php`.
- **Changable-General-color**
- Default color is set in Admin setting page.
- **Flexible Submission**
- Supports submission via **AJAX** or standard POST (can be enabled/disabled in settings).
- AJAX mode → returns JSON response.
- Non-AJAX mode → displays success/error message on the same page.
- **Admin Panel**
- View messages (ID, Full Name, Email, Phone, Subject, Created At).
- View full message details.
- Mark messages as read/unread.
- Delete messages.
- Manage fields and settings.
- **Error Handling**
- Dedicated `forms/error.php` page for handling errors (404, etc.).
- **Email Integration**
- Sends emails via PHPMailer using SMTP configuration in `config/mail.php`.
- Email includes all submitted field data.
Requirements
- **PHP**: 7.4 or higher
- **MySQL**: 5.7+
- **Extensions**: `mbstring`, `mysqli`, `openssl`
- **PHPMailer**: included with the project
- A web server like Apache or Nginx
Instructions
## Installation
1. Copy the project files to your local server (XAMPP, WAMP, etc.) or a live server with PHP & MySQL support.
2. Create a new database and import `install/database.sql`.
3. Update application settings in `config/app.php` , database settings in `config/database.php`
4. Update base_url and assets route in `config/config.php`.
5. Update email (SMTP) settings in `config/mail.php`.
6. Update base path in `config/app.php` (if If you are working on localhost (XAMPP/WAMP), set:
'base_path' => 'your base path'
If you are working on real hosting (public_html), set:
'base_path' => '') .
---
## Usage
### Frontend Form
- Access `/forms/show` to view the contact form.
- On submission:
- **AJAX enabled** → returns JSON and displays dynamic success/error messages.
- **AJAX disabled** → reloads page with success/error messages.
### Admin Panel
- Add `/admin` to the base_url to access the Admin Panel.
- `/admin/messages` → View messages.
- `/admin/message-details/{id}` → View message details.
- `/admin` → General settings (including AJAX toggle) and Manage form fields.
---
## Email Sending
- Powered by **PHPMailer**.
- Uses sender name/email from form fields, or fallback from `mail.php`.
- Emails include all submitted form data.
- For array fields (e.g., multiple checkboxes), values are automatically converted into comma-separated text.
---
## Error Handling
- Any non-existing route is redirected to the error view: `forms/error.php`.
PHP Script Installation Service
Don't worry about the installation of your script! Have your PHP Script installed for you.
|
$39 | Buy now |
Category | Scripts & Code / PHP Scripts / Forms |
First release | 19 September 2025 |
Last update | 19 September 2025 |
Software version | PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4 |
Files included | .php, .css, .html, .sql, Javascript .js |
Tags | contact form, php contact form, ajax contact form, responsive form, php form builder, form validation, PHPMailer, contact us form, multi language form, email form, advanced form, bootstrap form, custom fields form, admin panel form, form template |