This is an extension to my datacode interview questions.

Overview

Php contact form

This project uses PHP 8

This is an extension to my datacode interview questions. This is a fully working response form with email functionality as well as database manipulation.The form can be translated from french, english and pirate based on the browser language.

In order to use this in your environment you will require:

Postfix, Phpmailer, Mariadb

SQL for setting up the tables that are used in this application

create table frmResponses
(
	ResponseID int auto_increment,
	Response varchar(255) default '' null,
	First_Name varchar(255) default '' null,
	Last_Name varchar(255) default '' null,
	Email_Address varchar(255) default '' null,
	constraint frmResponses_pk
		primary key (ResponseID)
);

For setting the DB connection I have provided a json file within settings/db.json

{
  "HOST": "",
  "USERNAME": "",
  "PASSWORD" : "",
  "DATABASE" : ""
}

For setting the Email Settings I have provided a json file within settings/mailersettings.json

{
  "PORT": 587,
  "HOST": "smtp.example.com",
  "USERNAME": "[email protected]",
  "PASSWORD" : "example",
  "SMTP_AUTH": true,
  "MAILER": "smpt",
  "SMTP_SECURE": "tls",
  "IS_HTML": true
}

I used php -S 0.0.0.0:8000 -t path-to-dir

You might also like...
Magento specific extension for phpstan

bitexpert/phpstan-magento This package provides some additional features for PHPStan to make it work for Magento 2 projects. Installation The preferre

Generate stubs for any PHP extension.

php-ext-stubs-generator Installation Run $ composer require --dev lctrs/php-ext-stubs-generator Usage $ php vendor/bin/generate-stubs-for-ext extensio

This Magento 2 extension integrates EasyTranslate into Magento 2.
This Magento 2 extension integrates EasyTranslate into Magento 2.

EasyTranslate Magento 2 Connector This Magento 2 extension integrates EasyTranslate into Magento 2. Mind that you need to have an account with EasyTra

A Flarum extension. A MEME BBCode.

Meme A Flarum extension. A MEME BBCode. [meme url=image.jpg text-position=top, center, bottom]This is meme text.[/meme] Installation Install with comp

TYPO3 Extension for on-the-fly evaluation hints in FormEngine

OTF - A TYPO3 extension to display on-the-fly evaluation hints in FormEngine This TYPO3 extension allows to add a FormEngine FieldWizard to specific T

PHP Extension installer

pickle - PHP Extension installer Pickle installs PHP extensions easily on all platforms. Installation Grab the latest phar at https://github.com/Frien

PHP extension for V8 JavaScript engine

php-v8 PHP extension for V8 JavaScript engine This extension requires PHP = 7.2. Last version that supports PHP 7.1 is v0.2.2 and for PHP 7.0 is v0.1

Easily install PHP extension in Docker containers

Easy installation of PHP extensions in official PHP Docker images This repository contains a script that can be used to easily install a PHP extension

This component provides a collection of functions/classes using the symfony/intl package when the Intl extension is not installed.

Symfony Polyfill / Intl: ICU This package provides fallback implementations when the Intl extension is not installed. It is limited to the "en" locale

Owner
null
Interview project for Fullstack Developer.

Interview Project Fullstack Requires PHP: 7.0 WP requires at least: 5.7 WP tested up to: 5.7 WC requires at least: 5.6.0 WC tested up to: 5.8.0 Stable

Universal Yums 1 Oct 27, 2021
This is the information I prepared for the PHP interview.The notes include PHP, MySql, Linux, etc.

PHP面试准备的资料 这个项目是自己准备面试整理的资料。可能包括PHP、MySQL等资料。方便自己以后查阅,会不定期更新,如果错误,请指出,谢谢。欢迎大家提交PR,谢谢大家的star 可以通过https://xianyunyh.gitbooks.io/php-interview/预览。欢迎有精力的朋

Troy 1.2k Dec 24, 2022
Frequently asked questions crud implementation for laravel projects

Laravel FAQs This is a simple package to help manage frequently asked questions in a project. Installation You can install the package via composer by

Detosphere Ltd 3 Jun 29, 2022
🎓 Collection of useful PHP frequently asked questions, articles and best practices

PHP.earth documentation These files are available online at PHP.earth. Contributing and license We are always looking forward to see your contribution

PHP.earth 278 Dec 27, 2022
Mega list of 1 on 1 meeting questions compiled from a variety to sources

Mega list of 1 on 1 meeting questions compiled from a variety to sources

Vidal Graupera 9.1k Dec 29, 2022
QuestionApp - a platform where users can ask questions and discuss about the subject they are curious about

QuestionApp About The Project It can be a trend according to the number of likes and comments that members can ask questions. ![Alt Text] Ask your any

Tolga Bayrak 4 Oct 7, 2022
Magento 2 Extension to cleanup admin menu and Store > Configuration area by arranging third party extension items.

Clean Admin Menu - Magento 2 Extension It will merge all 3rd party extension's menu items in backend's primary menu to a common menu item named "Exten

RedChamps 109 Jan 3, 2023
Magento 2 Blog Extension is a better blog extension for Magento 2 platform. These include all useful features of Wordpress CMS

Magento 2 Blog extension FREE Magento 2 Better Blog by Mageplaza is integrated right into the Magento backend so you can manage your blog and your e-c

Mageplaza 113 Dec 14, 2022
PHPStan extension to support #[Readonly] constructor properties

icanhazstring/phpstan-readonly-property Support #[Readonly] promoted constructor properties for PHPStan. This library is used to have a full transitio

Andreas Frömer 4 Apr 5, 2022
Okex API Like the official document interface, Support for arbitrary extension.

It is recommended that you read the official document first Okex docs https://www.okex.com/docs/en Okex Simulation Test API https://www.okex.com/docs/

lin 34 Jan 1, 2023